Hi
I seem to have a problem with my peak lists. I have transferred my project
to v1.0.12 and want to look at some assigned NOE peaks on my structure. When
I go to Current Peak Lists and try and select a Structure (from <None> to
MS1:1) on which to view the peak I get a traceback;
>> Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
return self.func(*args)
File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 456, in callit
func(*args)
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py",
line 621, in update
self.specPullDown.setup(self.spectra,self.spectra.index(selectedSpec))
File "/data/prog/ccpnmr/ccpnmr1.0/python/memops/gui/PulldownMenu.py", line
244, in setup
self.setSelectedIndex(selected_index)
File "/data/prog/ccpnmr/ccpnmr1.0/python/memops/gui/PulldownMenu.py", line
438, in setSelectedIndex
self.callback(selected_index, self.entries[selected_index])
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py",
line 555, in changeSpec
self.listPullDown.setup(self.peakLists,index)
File "/data/prog/ccpnmr/ccpnmr1.0/python/memops/gui/PulldownMenu.py", line
244, in setup
self.setSelectedIndex(selected_index)
File "/data/prog/ccpnmr/ccpnmr1.0/python/memops/gui/PulldownMenu.py", line
438, in setSelectedIndex
self.callback(selected_index, self.entries[selected_index])
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py",
line 567, in changeList
self.peaksUpdate()
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py",
line 961, in peaksUpdate
textMatrix=textMatrix)
File "/data/prog/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledMatrix.py",
line 1816, in update
self.setGraphMenu()
File "/data/prog/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledMatrix.py",
line 376, in setGraphMenu
options = self.getGraphMenuOptions()
File "/data/prog/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledMatrix.py",
line 394, in getGraphMenuOptions
heading = heading.replace('\n',' ')
AttributeError: 'NoneType' object has no attribute 'replace'
Also when I select a peak and click "Show on Structure" I get an error;
>>> Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
return self.func(*args)
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakListPopup.py",
line 290, in showStructConnections
popup.showPeakConnection(peak)
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ViewStructurePopup.py",
line 153, in showPeakConnection
self.showAtomSetsConnection(atomSetsI,atomSetsJ, value, color=color)
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ViewStructurePopup.py",
line 210, in showAtomSetsConnection
molSystem = atomSets1[0].findFirstAtom().residue.chain.molSystem
IndexError: list index out of range
If I convert these peak lists into constraints I can view them on my
structure fine but not as peaks.
This worked OK on the previous version.
Cheers
Ben
|