exposing MolecularHierarchyDecorators to python
hi,
I am trying to use write_pdb, which gets as input a set of MolecularHierarchyDecorator (MolecularHierarchyDecorators) This type (MolecularHierarchyDecorators) is not exposed in python. I tried to add typedef in the atom.i file, but then the compiler complained that this has already been declared in MolecularHierarchyDecorator.h ( which is true). but still the python interface does not include MolecularHierarchyDecorators.
any ideas how to solve it ?
thank you, Keren.
Look at Particles in the kernel. Youneed a %template line.
On Mar 18, 2009, at 7:26 PM, Keren Lasker kerenl@salilab.org wrote:
> hi, > > I am trying to use write_pdb, which gets as input a set of > MolecularHierarchyDecorator (MolecularHierarchyDecorators) > This type (MolecularHierarchyDecorators) is not exposed in python. > I tried to add typedef in the atom.i file, but then the compiler > complained that this has already been declared in > MolecularHierarchyDecorator.h ( which is true). > but still the python interface does not include > MolecularHierarchyDecorators. > > any ideas how to solve it ? > > thank you, > Keren. > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
participants (2)
-
Daniel Russel
-
Keren Lasker