Sorry another problem:
I have just imported a peaklist from nmrview with format converter and
linked the resonances to a spin sytstem and at one level it has all worked
well I have the peaks on the spectrum and they have the correct line.
However, if I bring up the EditPeakList Popup the scrolled matrix contains
data from the last peak lsit I looked at and I get the exception
Exception in Tkinter callback
Traceback (most recent call last):
File
"/home/garyt/programs/ccpnmr/1.0.10/python2.4/lib/python2.4/lib-tk/Tkinter.py",
line 1345, in __call__
return self.func (*args)
File
"/home/garyt/programs/ccpnmr/1.0.10/ccpnmr1.0/python/memops/gui/PulldownMenu.py",
line 269, in <lambda>
command = lambda n=n: self.setSelectedIndex(n)
File
"/home/garyt/programs/ccpnmr/1.0.10/ccpnmr1.0/python/memops/gui/PulldownMenu.py",
line 425, in setSelectedIndex
self.callback(selected_index, self.entries[selected_index])
File
"/home/garyt/programs/ccpnmr/1.0.10/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py",
line 690, in changeSpec
self.peakLists = self.getListOfLists(self.spectrum)
File
"/home/garyt/programs/ccpnmr/1.0.10/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py",
line 813, in getListOfLists
for peakList in spec.peakLists:
AttributeError: 'NoneType' object has no attribute 'peakLists'
now I had a look at the peak lists and datasource and the peaklist for this
spectrum are present (it is an nmrview spectrum coming in through my
translator)
top.project.nmrExperiments[7].dataSources[0].name = 'ms2w82r-hsqc-trosy'
top.project.nmrExperiments[7].dataSources[0].peakLists[0] =
<ccp.Nmr.PeakList [9, 1, 1]>
len(top.project.nmrExperiments[7].dataSources[0].peakLists[0].peaks) =117
any ideas
many thanks
gary
NB I should be able to see if that strip reappearance thing happens with the
same project on a different machine and setup in a while as I am working at home
regards
gary
|