Data Model version 2.1.2

Method: getOccupancies


    getter for derived attribute occupancies

guid: www.ccpn.ac.uk_Fogh_2011-03-22-17:23:27_00014
OpType: get
OpSubType: None
isQuery: True
isAbstract: False
Scope: instance_level
Code: dataMatrix = self.topObject.findFirstDataMatrix(name='occupancies')
if dataMatrix:
  result = dataMatrix.getSubmatrixData(point=(0,self.index,), shape=(0,1,))
else:
  raise ApiError("%s lacks DataMatrix named 'occupancies''" % self.topObject)
  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.Atom   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk