Data Model version 2.1.2

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.1.2
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Thu Oct 2 16:09:52 2014    from data model package  ccp.api.nmr.NmrCalc.ConstraintStoreData   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk