Data Model version 2.0.6

Method: setConstraintLists


    setter for derived link constraintLists

guid: www.ccpn.ac.uk_Fogh_2009-04-16-16:24:03_00006
OpType: set
OpSubType: None
isQuery: False
isAbstract: False
Scope: instance_level
Code: if values:
  stores = set(x.nmrConstraintStore for x in values)
  if len(stores) == 1:
    self.constraintStoreSerial = stores.pop().serial
    self.constraintListSerials = [x.serial for x in values]
  else:
    raise ApiError("ConstraintLists are from different NmrConstraintStores: %s" % values)
else:
  self.constraintListSerials = ()
  self.constraintStoreSerial = None
  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.ConstraintStoreData   revision 1.10  
  Work done by the CCPN team.
www.ccpn.ac.uk