Home | Trees | Indices | Help |
|
---|
|
This is a helper class for ComplexList.
Keep unique copies of the rec and lig models from many Complexes. Make sure that 2 Complexes with the same rec_model (same by file name and unchanged) always point to the same PDBModel instance.
|
|||
| __init__(self) | ||
str
|
version(self) Version of class. |
||
|
addComplex(self,
com) Register Complex with the registry. |
||
|
removeComplex(self,
com) Remove a Complex from the registry. |
||
|
__removeModel(self,
model,
com,
f2model,
f2com) Remove model of a complex from the registry. |
||
PDBModel
|
getRecModel(self,
source) Get receptor model belonging to source. |
||
PDBModel
|
getLigModel(self,
source) Get ligand model belonging to source. |
||
PDBModel
|
getModel(self,
source) Get model belonging to source. |
||
[PDBModel]
|
recModels(self) Get a list with all receptor models. |
||
[PDBModel]
|
ligModels(self) Get a list with all ligand models. |
||
[Complex]
|
getRecComplexes(self,
model) Get the complexes of which a given receptor model is a component. |
||
[Complex]
|
getLigComplexes(self,
model) Get the complexes of which a given ligand model is a component. |
||
[Complex]
|
__getComplexes(self,
model,
f2com) Get the complexes of which a given ligand model is a component. |
||
PDBModel, str
|
__sync_model(self,
m,
f2model) Get a shared model instance that is equal to m. |
||
| __str__(self) | ||
| __repr__(self) |
|
|
Version of class.
|
Register Complex with the registry.
|
Remove a Complex from the registry.
|
Remove model of a complex from the registry.
|
Get receptor model belonging to source.
|
Get ligand model belonging to source.
|
Get model belonging to source.
|
Get a list with all receptor models.
|
Get a list with all ligand models.
|
Get the complexes of which a given receptor model is a component.
|
Get the complexes of which a given ligand model is a component.
|
Get the complexes of which a given ligand model is a component.
|
Get a shared model instance that is equal to m. If there is no such instance in the registry, m is returned and m is added to the registry - but only if it has been pickled to disc and hasn't changed since.
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Tue May 1 22:34:53 2007 | http://epydoc.sourceforge.net |