sure, which address should I send it to?
On 06/01/2011 03:36 PM, Wayne Boucher wrote:
> Hello,
>
> That patch would not (or should not!) have fixed that second problem
> since I couldn't see how it was being triggered. There once was a
> problem in the last planes with peaks in pseudo-3D experiments when an
> experiment (like R1) had fewer planes than another experiment (like
> R2). But that was sorted (I think) and in any case does not seem to
> be your issue.
>
> I have a similar project where I have two pseudo-3D experiments and
> one of them has 9 planes and the other one 10 and ctrl clicking seems
> to be ok for me. I put some debugging in the code and at the relevant
> point when I am adding a peak to the first plane the position comes
> out as 1 (as it should be) not 0 (as you are getting).
>
> Can you send me the project and the R2 spectrum (if the latter is not
> too big!) off list so I can try and replicate.
>
> Thanks, Wayne
>
> On Wed, 1 Jun 2011, S.P. Skinner wrote:
>
>> Hi Wayne
>>
>> I've added the update on the server, but I am still having the second
>> problem. I have the copy assignments box open, and I am copying from
>> an R1 experiment with 6 points to an R2 experiment with 8 points. I
>> am using the first plane, yet, when I hold CTRL and click to add a
>> peak to the R2 spectrum I get the traceback:
>> Traceback (most recent call last):
>> File
>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py",
>> line 1410, in __call__
>> return self.func(*args)
>> File
>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>> line 1032, in <lambda>
>> cmd = lambda event, button=button, state=state:
>> self.releaseFunc(event, button, state)
>> File
>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>> line 1005, in releaseFunc
>> func(event)
>> File
>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>> line 1597, in selectLocation
>> self.select_single_func(event.widget, a, b, x, y, button, state,
>> event=event)
>> File
>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py",
>> line 1936, in selectSingle
>> self.menuPeak = self.createNewPeak(a, b, row, col)
>> File
>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py",
>> line 2001, in createNewPeak
>> parent=self.topPopup, doFit=False)
>> File
>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/PeakBasic.py",
>> line 1705, in addPeak
>> setPeakPosition(peak, position, tile)
>> File
>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/PeakBasic.py",
>> line 1815, in setPeakPosition
>> peakDim.position = position[dim]
>> File
>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccp/api/nmr/Nmr.py",
>> line 55061, in setPosition
>> + ": %s" % (value,)
>> ApiError: ccp.nmr.Nmr.PeakDim.setPosition:
>> position constraint position_ge_1 violated by value: 0.0
>>
>> Am I doing something really wrong?
>>
>> On 06/01/2011 02:27 PM, Wayne Boucher wrote:
>>> Hello,
>>>
>>> I've fixed the first problem. The subsequent problem I cannot
>>> replicate but I guess you are adding peaks manually using ctrl
>>> click. So I tried that but it worked ok for me, so I'm not sure
>>> what is going wrong there. But it probably caused the subsequent
>>> problem. (I did fine one other bug though which I fixed.)
>>>
>>> Wayne
>>>
>>> On Wed, 1 Jun 2011, S.P. Skinner wrote:
>>>
>>>> Hi All,
>>>>
>>>> A couple of problems have recently arisen. I am using pseudo-3D
>>>> relaxation experiments and when I attempted to select the side
>>>> chain resonances before intialising the peak list, I got the
>>>> following traceback:
>>>>
>>>> Exception in Tkinter callback
>>>> Traceback (most recent call last):
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py",
>>>> line 1410, in __call__
>>>> return self.func(*args)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledMatrix.py",
>>>> line 746, in mouseClick
>>>> self.selectCell(row,col)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledMatrix.py",
>>>> line 1839, in selectCell
>>>> self.callback(self.currentObject, objRow, objCol)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/popups/InitRootAssignments.py",
>>>> line 435, in selectAmidePair
>>>> self.followPeaks()
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/popups/InitRootAssignments.py",
>>>> line 357, in followPeaks
>>>> zoomToShowPeaks(self.amidePair, self.windowPane)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/WindowBasic.py",
>>>> line 1815, in zoomToShowPeaks
>>>> for i, (ppmA, ppmB) in enumerate(region):
>>>> TypeError: 'NoneType' object is not iterable
>>>>
>>>> Secondly, when I attempt to navigate between peak lists and pick
>>>> peaks in the spectrum, the peak list doesn't refresh to show the
>>>> selected one and I have the following traceback:
>>>>
>>>> Exception in Tkinter callback
>>>> Traceback (most recent call last):
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py",
>>>> line 1410, in __call__
>>>> return self.func(*args)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>>>> line 1032, in <lambda>
>>>> cmd = lambda event, button=button, state=state:
>>>> self.releaseFunc(event, button, state)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>>>> line 1005, in releaseFunc
>>>> func(event)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>>>> line 1597, in selectLocation
>>>> self.select_single_func(event.widget, a, b, x, y, button, state,
>>>> event=event)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py",
>>>> line 1936, in selectSingle
>>>> self.menuPeak = self.createNewPeak(a, b, row, col)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py",
>>>> line 2001, in createNewPeak
>>>> parent=self.topPopup, doFit=False)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/PeakBasic.py",
>>>> line 1705, in addPeak
>>>> setPeakPosition(peak, position, tile)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/PeakBasic.py",
>>>> line 1815, in setPeakPosition
>>>> peakDim.position = position[dim]
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccp/api/nmr/Nmr.py",
>>>> line 55061, in setPosition
>>>> + ": %s" % (value,)
>>>> ApiError: ccp.nmr.Nmr.PeakDim.setPosition:
>>>> position constraint position_ge_1 violated by value: 0.0
>>>> Exception in Tkinter callback
>>>> Traceback (most recent call last):
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py",
>>>> line 1410, in __call__
>>>> return self.func(*args)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>>>> line 1032, in <lambda>
>>>> cmd = lambda event, button=button, state=state:
>>>> self.releaseFunc(event, button, state)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>>>> line 1005, in releaseFunc
>>>> func(event)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>>>> line 1597, in selectLocation
>>>> self.select_single_func(event.widget, a, b, x, y, button, state,
>>>> event=event)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py",
>>>> line 1936, in selectSingle
>>>> self.menuPeak = self.createNewPeak(a, b, row, col)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py",
>>>> line 2001, in createNewPeak
>>>> parent=self.topPopup, doFit=False)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/PeakBasic.py",
>>>> line 1705, in addPeak
>>>> setPeakPosition(peak, position, tile)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/PeakBasic.py",
>>>> line 1815, in setPeakPosition
>>>> peakDim.position = position[dim]
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccp/api/nmr/Nmr.py",
>>>> line 55061, in setPosition
>>>> + ": %s" % (value,)
>>>> ApiError: ccp.nmr.Nmr.PeakDim.setPosition:
>>>> position constraint position_ge_1 violated by value: 0.0
>>>> Exception in Tkinter callback
>>>> Traceback (most recent call last):
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py",
>>>> line 1410, in __call__
>>>> return self.func(*args)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/Menu.py",
>>>> line 309, in <lambda>
>>>> options_copy['command'] = lambda: func(self.menu_event)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py",
>>>> line 1565, in createPeak
>>>> self.createNewPeak(a, b, row, col)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py",
>>>> line 2001, in createNewPeak
>>>> parent=self.topPopup, doFit=False)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/PeakBasic.py",
>>>> line 1705, in addPeak
>>>> setPeakPosition(peak, position, tile)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/PeakBasic.py",
>>>> line 1815, in setPeakPosition
>>>> peakDim.position = position[dim]
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccp/api/nmr/Nmr.py",
>>>> line 55061, in setPosition
>>>> + ": %s" % (value,)
>>>> ApiError: ccp.nmr.Nmr.PeakDim.setPosition:
>>>> position constraint position_ge_1 violated by value: 0.0
>>>> Exception in Tkinter callback
>>>> Traceback (most recent call last):
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py",
>>>> line 1410, in __call__
>>>> return self.func(*args)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>>>> line 1032, in <lambda>
>>>> cmd = lambda event, button=button, state=state:
>>>> self.releaseFunc(event, button, state)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>>>> line 1005, in releaseFunc
>>>> func(event)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledWindow.py",
>>>> line 1597, in selectLocation
>>>> self.select_single_func(event.widget, a, b, x, y, button, state,
>>>> event=event)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py",
>>>> line 1936, in selectSingle
>>>> self.menuPeak = self.createNewPeak(a, b, row, col)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py",
>>>> line 2001, in createNewPeak
>>>> parent=self.topPopup, doFit=False)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/PeakBasic.py",
>>>> line 1705, in addPeak
>>>> setPeakPosition(peak, position, tile)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/PeakBasic.py",
>>>> line 1815, in setPeakPosition
>>>> peakDim.position = position[dim]
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccp/api/nmr/Nmr.py",
>>>> line 55061, in setPosition
>>>> + ": %s" % (value,)
>>>> ApiError: ccp.nmr.Nmr.PeakDim.setPosition:
>>>> position constraint position_ge_1 violated by value: 0.0
>>>> Exception in Tkinter callback
>>>> Traceback (most recent call last):
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py",
>>>> line 1410, in __call__
>>>> return self.func(*args)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py",
>>>> line 495, in callit
>>>> func(*args)
>>>> File
>>>> "/afs/gorlaeus.net/lic/metprot/software/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/PeakTableFrame.py",
>>>> line 999, in updatePeaksFromList
>>>> value = sampledDim.pointValues[int(peakDim.position)-1]
>>>> TypeError: int() argument must be a string or a number, not 'NoneType'
>>>>
>>>> Any ideas what's gone wrong?
>>>>
>>>> Regards
>>>>
>>>> Simon
>>>>
>>>> --
>>>> Simon P Skinner
>>>> Protein Chemistry Group
>>>> Leiden Institute of Chemistry, Universiteit Leiden
>>>> Phone: +31 71 527 6089 / Fax: +31 71 527 4349
>>>> E-mail : [log in to unmask]
>>>>
>>
>> --
>> Simon P Skinner
>> Protein Chemistry Group
>> Leiden Institute of Chemistry, Universiteit Leiden
>> Phone: +31 71 527 6089 / Fax: +31 71 527 4349
>> E-mail : [log in to unmask]
>>
--
Simon P Skinner
Protein Chemistry Group
Leiden Institute of Chemistry, Universiteit Leiden
Phone: +31 71 527 6089 / Fax: +31 71 527 4349
E-mail : [log in to unmask]
|