Data Model version 2.1.2
Acknowledgements
Diagram | Class Map | Attribute Map | Method Map | Help | License
Home | Package | Class | Attribute | Method: { prev | next }

Method: setSubmatrixValues


    set submatrix data vaues for current atom and model at index. NB values are passed in as a list even where there is only one.

guid: www.ccpn.ac.uk_Fogh_2011-04-07-12:25:59_00002
OpType: otherModify
OpSubType: None
isQuery: False
isAbstract: False
Scope: instance_level
Code: dataMatrix = self.topObject.findFirstDataMatrix(name=name)
if dataMatrix:
  dataMatrix.setSubMatrixData(point=(index,self.index,), shape=(1,1,), values=values)
else:
  raise ApiError("%s lacks DataMatrix named %s'" % (self.topObject, name))
  Data Model Version 2.1.2
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Fri Mar 28 11:18:20 2014    from data model package  ccp.api.molecule.MolStructure.Atom   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk