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

Class _StructureChainIterator

Class for iterating over chains in a Structure.

Instance Methods [hide private]
 
__init__(self, st)
 
recalc(self)
Obsolete
 
chainNames(self)
Return a list of chain letters
 
__len__(self)
Return number of chains in the structure
 
__getitem__(self, name)
Return chain object for chain <name>
 
__delitem__(self, name)
Delete the chain <name> from the Structure.
 
__iter__(self)
Iterate through all chains in the structure.
Method Details [hide private]

__delitem__(self, name)
(Index deletion operator)

 

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