Package schrodinger :: Package protein :: Module rotamers :: Class _RotamerIterator
[hide private]
[frames] | no frames]

Class _RotamerIterator

object --+
         |
        _RotamerIterator

Container for the rotamers which are associated with a particular residue type

Instance Methods [hide private]
 
__init__(self, rl)
Initialize the iterator with the rotamer library
 
__len__(self)
Return the number of rotamers which are available:
 
__getitem__(self, rotamer_num)
Return the rotamer which is associated with rotamer_num.
 
__iter__(self)
Iterate through the available rotamers for 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, rl)
(Constructor)

 

Initialize the iterator with the rotamer library

Overrides: object.__init__

__getitem__(self, rotamer_num)
(Indexing operator)

 

Return the rotamer which is associated with rotamer_num. Index begins at 1