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

Class _StructureMoleculeIterator

object --+
         |
        _StructureMoleculeIterator

Iterates over _Molecule in a Structure.

Instance Methods [hide private]
 
__init__(self, st)
x.__init__(...) initializes x; see help(type(x)) for signature
 
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)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, st)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__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.