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

Class _StructureChainIterator

object --+
         |
        _StructureChainIterator

Class for iterating over chains in a Structure.

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

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, name)
(Index deletion operator)

 

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