Wayne Boucher wrote:
> Hello,
>
> There is a (so-called locard) constraint that every peakDimContrib must be
> associated with at least one peakContrib. By removing this peakDimContrib
> from peakContrib.peakDimContribs, you are also removing peakContrib from
> peakDimContrib.peakContribs and since there are no other peakContribs in
> peakDimContrib.peakContribs it is complaining. It seems that perhaps
> instead this peakDimContrib should just be deleted.
>
> Wayne
>
Hi wayne
I wasn't worried about the constraint that fine I understand that one
;-) The problem is that when I violate the constraint the error message
doesn't list what i am tring to remove (though it indicates that its
hsould be)
oldSelves: cannot remove value: <something missing here>
I.e. there should be some text at <something missing here> (which I
added) but there isn't....
(as an aside the message also doesn't list what container is failing the
locard constraint which would also be useful..)
regards
gary
> On Thu, 28 Feb 2008, Gary Thompson wrote:
>
>
>> Hi A couple of bug reports
>>
>> 1. when changing window groups the list of available windows in the
>> PeakListEditor doesn't update
>> 2. The following stack trace doesn't appear to have a complete set of
>> parameters
>>
>> Exception in Tkinter callback
>> Traceback (most recent call last):
>> File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
>> return self.func(*args)
>> File
>> "/usr/jessy/garyt/programs/ccpn/1.0.12/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py",
>> line 861, in <lambda>
>> menu.add_command(label=macro.name, command=lambda m=macro:
>> self.runMacro(m))
>> File
>> "/usr/jessy/garyt/programs/ccpn/1.0.12/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py",
>> line 880, in runMacro
>> command.run()
>> File
>> "/home/garyt/programs/ccpn/1.0.12/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccp/general/Command.py",
>> line 83, in run
>>
>> File
>> "/usr/jessy/garyt/programs/ccpn/1.0.12/macros/arrange_noe_contribs.py",
>> line 394, in arrange_noe_contribs
>> peak_contrib.removePeakDimContrib(peak_dim_contrib)
>> File
>> "/home/garyt/programs/ccpn/1.0.12/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccp/api/nmr/Nmr.py",
>> line 75655, in removePeakDimContrib
>> ApiError: ccp.nmr.Nmr.PeakContrib.removePeakDimContrib:locard:
>> oldSelves: cannot remove value:
>>
>> specifically what is being removed isn't listed
>>
>> regards
>> gary
>>
>> --
>> -------------------------------------------------------------------
>> Dr Gary Thompson
>> Astbury Centre for Structural Molecular Biology,
>> University of Leeds, Astbury Building,
>> Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
>> email: [log in to unmask] Fax +44-113-2331407
>> -------------------------------------------------------------------
>>
>>
>
> .
>
>
--
-------------------------------------------------------------------
Dr Gary Thompson
Astbury Centre for Structural Molecular Biology,
University of Leeds, Astbury Building,
Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
email: [log in to unmask] Fax +44-113-2331407
-------------------------------------------------------------------
|