Method: setOccupancy
set occupancy for current atom and model at index.
guid:
|
www.ccpn.ac.uk_Fogh_2011-03-22-17:23:27_00028
|
OpType:
|
otherModify
|
OpSubType:
|
None
|
isQuery:
|
False
|
isAbstract:
|
False
|
Scope:
|
instance_level
|
Code:
|
dataMatrix = self.topObject.findFirstDataMatrix(name='occupancies')
if dataMatrix:
dataMatrix.setPointValue(point=(index,self.index), value=value)
else:
raise ApiError("%s lacks DataMatrix named 'occupancies''" % self.topObject)
|
|