<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Is it possible to pickle a molecule object?<DIV>>>> pickle.dumps(molecule)</DIV><DIV>Traceback (most recent call last):</DIV><DIV> File "<pyshell#32>", line 1, in ?</DIV><DIV> pickle.dumps(molecule)</DIV><DIV> File "/Applications/Chimera.app/Contents/Resources/lib/python2.4/pickle.py", line 1386, in dumps</DIV><DIV> Pickler(file, protocol, bin).dump(obj)</DIV><DIV> File "/Applications/Chimera.app/Contents/Resources/lib/python2.4/pickle.py", line 231, in dump</DIV><DIV> self.save(obj)</DIV><DIV> File "/Applications/Chimera.app/Contents/Resources/lib/python2.4/pickle.py", line 313, in save</DIV><DIV> rv = reduce(self.proto)</DIV><DIV> File "/Applications/Chimera.app/Contents/Resources/lib/python2.4/copy_reg.py", line 69, in _reduce_ex</DIV><DIV> raise TypeError, "can't pickle %s objects" % base.__name__</DIV><DIV>TypeError: can't pickle Molecule objects</DIV><DIV>>>></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">---------------------------------------------</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Francis Reyes M.Sc.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">215 UCB</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">University of Colorado at Boulder</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">gpg --keyserver pgp.mit.edu --recv-keys 67BA8D5D</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">8AE2 F2F4 90F7 9640 28BC 686F 78FD 6669 67BA 8D5D</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>