[Chimera-users] Subclass chimera.Molecule
Jaime Rodríguez-Guerra
jaime.rogue at gmail.com
Thu Jun 12 09:33:42 PDT 2014
Hello,
I am trying to extend the chimera.Molecule class() to add a few methods and
attributes, but the followin error arises:
TypeError: Error when calling the metaclass bases
type '_molecule.Molecule' is not an acceptable base type
File "/home/jr/x/gaudi/gaudi/molecule.py", line 51, in <module>
class Compound(chimera.Molecule):
Is there any workaround? I want my Compound objects to behave like standard
chimera Molecules (with all their attributes and stuff), and also be able
to call custom methods on that Molecule.
Thanks in advance,
Jaime.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140612/26fb7047/attachment.html>
More information about the Chimera-users
mailing list