guid:
|
www.ccpn.ac.uk_Fogh_2006-08-16-14:22:55_00002
|
isImplicit:
|
False
|
Tag
|
Value
|
repositoryId
|
$Id: $
|
Tag
|
Value
|
repositoryTag
|
$Name: $
|
Special constructor code:
|
None
|
Special destructor code:
|
# Check if there are models
if not self.root.override:
# The following code interacts directly with the deletion implementation (use of 'objsToBeDeleted').
# This is bad, but the only way to accomplish the desired result.
structureEnsemble = self.structureEnsemble
if structureEnsemble not in objsToBeDeleted and structureEnsemble.findFirstModel() is not None:
raise ApiError("Chains may not be deleted in StructureEnsembles with Models")
|
Special postDestructor code:
|
None
|
Constraints:
|
None
|
Known inward one-way links:
|
None
|