Data Model version 2.0.6
Acknowledgements
Diagram | Class Map | Attribute Map | Method Map | Help | License
Home | Package | Class | Attribute | Method: { prev | next }

Method: getChains


    getter for derived link chains

guid: www.ccpn.ac.uk_Fogh_2009-05-20-16:32:16_00024
OpType: get
OpSubType: None
isQuery: True
isAbstract: False
Scope: instance_level
Code: molSystem = self.root.findFirstMolSystem(code=self.molSystemCode)
if molSystem:
  chainCodes = self.chainCodes
  if chainCodes:
    result = [molSystem.findFirstChain(code=x) for x in chainCodes]
  else:
    result = molSystem.sortedChains()
else:
  result = list()
  Data Model Version 2.0.6
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Wed Aug 7 15:07:01 2013    from data model package  ccp.api.nmr.NmrCalc.MolSystemData   revision 1.10  
  Work done by the CCPN team.
www.ccpn.ac.uk