Hi,
Trying to show a restraint on a structure I get this traceback and the
last restraint that was displayed, rather than the currently selected one,
is displayed. The error persists through quiting and reopening the
project. I think I triggered this by displaying an assigned crosspeak from
a spectrum other than the one that's the origin of the restraint list that
I'm viewing on the structure and then going back to the restraint list.
There's nothing special about residue 37 - it sometimes says residue 42
for example.
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/ccpnmr2.1/python/ccpnmr/analysis/popups/BrowseConstraints.py",
line 1908, in showStructConnections
popup.clearConnections()
File
"/usr/local/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/popups/ViewStructure.py",
line 444, in clearConnections
self.structFrame.clearResidueHighlight(residue)
File "/usr/local/ccpnmr/ccpnmr2.1/python/ccp/gui/ViewStructureFrame.py",
line 823, in clearResidueHighlight
cAtom = cAtomDict[atom]
KeyError: <ccp.molecule.MolStructure.Atom
[<ccp.molecule.MolSystem.MolSystem ['projectname']>, 1, 'A', 37, 'CG']>
--
Dr. Brian O. Smith ---------------------- B Smith at bio gla ac uk
Division of Molecular & Cellular Biology,
Faculty of Biomedical & Life Sciences,
Joseph Black Building, University of Glasgow, Glasgow G12 8QQ, UK.
Tel: 0141 330 5167/6459/3089 Fax: 0141 330 4600
-------------------------------------------------------------------
The University of Glasgow, charity number SC004401
|