Method: setChemCompVar
setter for settable, derived link chemCompVar. NB needed also for backward compatibility with release 1.0b1
guid:
|
www.ccpn.ac.uk_Fogh_2006-08-16-18:23:35_00024
|
OpType:
|
set
|
OpSubType:
|
None
|
isQuery:
|
False
|
isAbstract:
|
False
|
Scope:
|
instance_level
|
Code:
|
cc = self.chemComp
if cc is not None and cc is not value.chemComp:
raise ApiError(" molResidue.chemCompVar incompatible with molResidue.chemComp")
self.linking = value.linking
self.descriptor = value.descriptor
|
|