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

Method: setAnnealEnergyTerm


    setter for derived link annealEnergyTerm

guid: www.ccpn.ac.uk_Fogh_2010-05-11-15:26:01_00005
OpType: set
OpSubType: None
isQuery: False
isAbstract: False
Scope: instance_level
Code: if value is None:
  self.annealEnergyTermSerial = None
elif value.annealProtocol is self.run.annealProtocol:
  self.annealEnergyTermSerial = value.serial
elif self.run.annealProtocol is None:
  self.annealEnergyTermSerial = value.serial
  self.run.annealProtocol = value.annealProtocol
else:
  raise ApiError("%s does not belong to AnnealProtocol %s" % (value, self.run.annealProtocol ))
  Data Model Version 2.0.6
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Wed Aug 7 15:07:00 2013    from data model package  ccp.api.nmr.NmrCalc.EnergyTerm   revision 1.4  
  Work done by the CCPN team.
www.ccpn.ac.uk