Data Model version 2.1.2

Method: getCoordinates


    getter for derived attribute coordinates

guid: www.ccpn.ac.uk_Fogh_2011-03-30-17:56:39_00022
OpType: get
OpSubType: None
isQuery: True
isAbstract: False
Scope: instance_level
Code: dataMatrix = self.structureEnsemble.findFirstDataMatrix(name='coordinates')
if dataMatrix:
  result = dataMatrix.getSubmatrixData(point=(self.index,), shape=(1,))
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.Model   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk