Hello,
I assume (hope) that second exception only happened because of the first
one. The first one actually occurred when trying to create a warning
message ("No possible strips in window ... for spin systems ..."). I've
fixed that now. (But there is one other issue with this warning. It
doesn't return from the code after the warning message so the strips would
get removed. Not sure if that is the correct thing to do. And there
might be a problem caused by this further down stream which is not obvious
in this particular function.)
Wayne
On Thu, 26 Apr 2007, Brian Smith wrote:
> Managed to evoke a couple of tracebacks messing with displaying cells:
>
> 1 spin system selected (has N, H and many sidechain Hs assigned) in Edit
> Spin Systems popup; press Display Cells with x=1H, y=15N, z1=1H window as
> target:
>
> >>> 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/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditSpinSystemPopup.py",
> line 189, in displayStripCells
> displaySpinSystemStrips(self.guiParent, [self.spinSystem,], window,
> splitIntoCells=1)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowBasic.py", line
> 1835, in displaySpinSystemStrips
> serials = ','.join([ss.serial for ss in spinSystems])
> TypeError: sequence item 0: expected string, int found
>
>
> When trying to clear the many cells produced in a x=1H, y=1H, z=13C
> window by Display Cells applied to an assigned Lys residue. Window messed
> up with one horizontal and one vertical separator, though it thinks it has
> only one vert/horiz strip. z slider has disappeared. no contours being
> drawn.
>
> 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/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py", line
> 582, in toggleStripDir
> swapStripAxis(self.parent, self.window)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowBasic.py", line
> 1551, in swapStripAxis
> popup.addRow()
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py", line
> 4748, in addRow
> self.activateStrip(len(yAxisPanel.axisRegions)-1)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py", line
> 849, in activateStrip
> self.updateRegionSelectors(num)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py", line
> 854, in updateRegionSelectors
> axisRegion = axisPanel.sortedAxisRegions()[num]
> IndexError: list index out of range
> 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/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py", line
> 4939, in deleteStrips
> self.shuffleAxisRegions(sourceNum=activeRow, targetNum=0,
> doCols=False)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py", line
> 4805, in shuffleAxisRegions
> region = axisRegions[sourceNum].region
> IndexError: tuple index out of range
>
>
>
> --
> Dr. Brian O. Smith ---------------------- B Smith at bio gla ac uk
> Division of Biochemistry & Molecular Biology,
> Institute Biomedical & Life Sciences,
> Joseph Black Building, University of Glasgow, Glasgow G12 8QQ, UK.
> Tel: 0141 330 5167/6459/3089 Fax: 0141 330 8640
>
|