Data Model version 2.1.2

Method: setOccupancy


    setter for derived attribute occupancy

guid: www.ccpn.ac.uk_Fogh_2011-03-30-17:56:39_00011
OpType: set
OpSubType: None
isQuery: False
isAbstract: False
Scope: instance_level
Code: dataMatrix = self.topObject.findFirstDataMatrix(name='occupancies')
if dataMatrix:
  dataMatrix.setPointValue(point=(self.model.index,self.atom.index), value=value)
else:
  raise ApiError("%s lacks DataMatrix named 'occupancies''" % self.structureEnsemble)
  Data Model Version 2.1.2
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Thu Oct 2 16:09:30 2014    from data model package  ccp.api.molecule.MolStructure.Coord   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk