guid:
|
www.ccpn.ac.uk_Fogh_2006-08-16-14:22:48_00024
|
isImplicit:
|
False
|
Tag
|
Value
|
repositoryId
|
$Id: PeakDimContribN.xml,v 1.54 2011-01-13 14:40:35 rhfogh Exp $
|
Tag
|
Value
|
repositoryTag
|
$Name: not supported by cvs2svn $
|
Special constructor code:
|
if not self.peakContribs:
possPeakContribs = self.peakDim.peak.peakContribs
if not possPeakContribs:
self.peakContribs = (PeakContrib(self.peakDim.peak),)
elif len(possPeakContribs) == 1:
self.peakContribs = possPeakContribs
else:
raise ApiError("PeakDimContribN must have a peakContribs input parameter where the peak has more than one possibility")
|
Special destructor code:
|
None
|
Constraint name:
|
resonances_and_peakDimComponent_form_secondary_key_for_PeakDimContribN
|
Constraint code:
|
# NB left in direct access for speed reasons only
for obj in dataDict['peakDim'].findAllPeakDimContribs(resonances=dataDict['resonances'], peakDimComponent=dataDict['peakDimComponent']):
if obj is not self:
isValid = False
break
else:
isValid = True
|
Known inward one-way links:
|
None
|