This class is a simple wrapper class that groups a number of
equivalent Entities and forwards all method calls to one of them (the
currently selected object). DisorderedResidue and DisorderedAtom are
subclasses of this class.
E.g.: A DisorderedAtom object contains a number of Atom objects, where
each Atom object represents a specific position of a disordered atom in
the structure.
|
__getattr__(self,
method)
Forward the method call to the selected child. |
source code
|
|
|
|
|
__setitem__(self,
id,
child)
Add a child, associated with a certain id. |
source code
|
|
|
|
|
disordered_add(self,
child)
This is implemented by DisorderedAtom and DisorderedResidue. |
source code
|
|
|
|
|
disordered_get_id_list(self)
Return a list of id's. |
source code
|
|
|
disordered_get_list(self)
Return list of children. |
source code
|
|
|
disordered_has_id(self,
id)
Return 1 if there is an object present associated with this id. |
source code
|
|
|
|
|
|
|
|
|
is_disordered(self)
Return 2, indicating that this Entity is a collection of Entities. |
source code
|
|
|
set_parent(self,
parent)
Set the parent for the object and its children. |
source code
|
|