Data Model version 2.1.2

Method: setX


    setter for derived attribute x

guid: www.ccpn.ac.uk_Fogh_2011-03-30-17:56:39_00003
OpType: set
OpSubType: None
isQuery: False
isAbstract: False
Scope: instance_level
Code: dataMatrix = self.topObject.findFirstDataMatrix(name='coordinates')
if dataMatrix:
  dataMatrix.setPointValue(point=(self.model.index,self.atom.index,0), value=value)
else:
  raise ApiError("%s lacks DataMatrix named 'coordinates''" % self.structureEnsemble)
  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.Coord   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk