Method: setSubmatrixData
set all Submatrix data values for matrix called 'name' corresponding to this Atom.It is recommended to use the setters on the Model instance where possible, as this function will be slower
guid:
|
www.ccpn.ac.uk_Fogh_2011-04-05-18:09:03_00004
|
OpType:
|
otherModify
|
OpSubType:
|
None
|
isQuery:
|
False
|
isAbstract:
|
False
|
Scope:
|
instance_level
|
Code:
|
dataMatrix = self.topObject.findFirstDataMatrix(name=name)
if dataMatrix:
dataMatrix.setSubMatrixData(point=(0,self.index,), shape=(0,1,), values=values)
else:
raise ApiError("%s lacks DataMatrix named %s'" % (self.topObject, name))
|
|