Data Model version 2.1.2

Method: newCoord


    Factory function to generate Coord. Since Coords are no longer explicitly stored, serves to preserve legacy code, and effectively functions as a setter.

guid: www.ccpn.ac.uk_Fogh_2011-03-22-17:23:27_00031
OpType: new
OpSubType: None
isQuery: False
isAbstract: False
Scope: instance_level
Code: model = attrlinks.get('model')
for coord in self.__dict__['coords'].values():
  if coord.__dict__['model'] is model:
    result = coord
    break
else:
  result = Coord(self, **attrlinks)
  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.Atom   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk