Data Model version 2.1.2

Method: setPointValue


    set value of matrix at position 'point'. Point is converted as for self.pointToIndex.

guid: www.ccpn.ac.uk_Fogh_2011-03-30-18:05:06_00016__www.ccpn.ac.uk_Fogh_2011-03-30-17:55:16_00001
OpType: otherModify
OpSubType: None
isQuery: False
isAbstract: False
Scope: instance_level
Code: if not isinstance(value, (float, int)):
  raise ApiError("parameter value %s is not a float" % value)
data = self.__dict__['data']
if data:
  data[self.pointToIndex(point)] = value
elif value != self.defaultValue:
    data.extend(self.size*[self.defaultValue])
    data[self.pointToIndex(point)] = value
  Data Model Version 2.1.2
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Mon Mar 2 17:24:49 2015    from data model package  ccp.api.molecule.MolStructure.DataMatrix   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk