On the bug front, that should indeed be sortedDataDims not sorteDataDims,
so I've put that fix on the update server. (There are probably a few
other typos like that lurking.)
Wayne
On Thu, 23 Nov 2006, Magnus Lundborg wrote:
> Hello,
>
> I've run into an exception error when trying to clone a peaklist (from
> the Current Peak Lists window). Let's say I have 2 tocsy experiments and
> I try to clone one peaklist into the other (or into an empty sister
> peaklist) the progress bar halts at about 0% and I get this message:
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/local/ccpnmr/python2.4/lib/python2.4/lib-tk/Tkinter.py",
> line 1345, in __call__
> return self.func(*args)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledMatrix.py", line
> 606, in mouseClick
> self.selectCell(row,col)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledMatrix.py", line
> 1615, in selectCell
> self.callback(self.currentObject, objRow, objCol)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListsPopup.py",
> line 493, in selectCell
>
> copyPeakList(self.cloneSourceList,self.peakList,progressBar=progressBar,rePick=0)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/PeakBasic.py", line
> 808, in copyPeakList
> objectMap = getDataDimRefMapping(peakList.dataSource,
> destPeakList.dataSource)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/PeakBasic.py", line
> 727, in getDataDimRefMapping
> dataDimB = targetDataSource.sorteDataDims[i]
> AttributeError: 'DataSource' object has no attribute 'sorteDataDims'
>
> I wonder if it should be changed to sortedDataDims. But I haven't looked
> into it yet.
>
>
> By the way I also wonder how reproduce peaks is supposed to work. If I
> have 2 tocsy experiments (e.g. 60 and 20 ms) and I have the peaks in the
> 60ms experiment picked (and assigned) I'd like to reproduce them in the
> 20ms experiment and only pick the peaks that exist in both experiments.
> When I do that, though, I get peaks even where there are no peaks in the
> 20ms spectrum - and I get exact the amount of peaks I had in the
> original experiment. I thought that was what clone peaks was supposed to
> do. Am I completely wrong? I haven't been able to compare the results
> between these functions since I got the above problem with the clone
> peaks function.
>
> Thanks a lot.
> /Magnus
>
> --
> Magnus Lundborg, ph.D. Student
> Stockholm University
> Department of Organic Chemistry
> Arrhenius Laboratory
> S-106 91 Stockholm
> Sweden
> E-mail address: [log in to unmask]
>
|