Package mmLib :: Module Structure :: Class Altloc
[hide private]
[frames] | no frames]

Class Altloc

source code

object --+    
         |    
      dict --+
             |
            Altloc

Container holding the same atom, but for different conformations and occupancies.

Instance Methods [hide private]
 
__deepcopy__(self, memo) source code
 
__iter__(self)
Iterates over all Altloc representations of this Atom.
source code
 
add_atom(self, atom)
Adds an atom to the Altloc.
source code
 
remove_atom(self, atom)
Removes the atom from this Altloc container.
source code
 
calc_next_alt_loc_id(self, atom)
Returns the next vacant alt_loc letter to be used for a key.
source code

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __init__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__iter__(self)

source code 

Iterates over all Altloc representations of this Atom.

Overrides: dict.__iter__

calc_next_alt_loc_id(self, atom)

source code 

Returns the next vacant alt_loc letter to be used for a key. This is part of a half-ass algorithm to deal with disordered input Atoms with improper alt_loc tagging.