Package schrodinger :: Module structure :: Class _StructureMoleculeIterator
[hide private]
[frames] | no frames]

Class _StructureMoleculeIterator

Iterates over _Molecule in a Structure.

Instance Methods [hide private]
 
__init__(self, st)
 
recalc(self)
Obsolete
 
__len__(self)
 
__getitem__(self, molnum)
Return molecule object for molecule <molnum>.
 
__delitem__(self, molnum)
Delete the molecule <molnum> from the Structure.
 
__iter__(self)
Method Details [hide private]

__delitem__(self, molnum)
(Index deletion operator)

 

Delete the molecule <molnum> from the Structure. Note that this immediately updates the Structure and therefore renumbers the atoms.