Print

Print


hi tim,

I just tried again with the structure import, and got two errors. First, on
importing I got

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1345, in __call__
    return self.func(*args)
  File
"/home/simon/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditStructuresPopup.py",
line 286, in deleteStructure
    self.structure.delete()
  File "/home/simon/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
line 303, in delete
    notify(obj)
  File
"/home/simon/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditStructuresPopup.py",
line 351, in updateCoordsAfter
    self.molFrame.update(self.loadedStructure)
  File "/home/simon/ccpnmr/ccpnmr1.0/python/ccp/gui/ViewStructureFrame.py",
line 543, in update
    self.displayStructure()
  File "/home/simon/ccpnmr/ccpnmr1.0/python/ccp/gui/ViewStructureFrame.py",
line 372, in displayStructure
    for atom3 in nextResidue.atoms:
AttributeError: 'NoneType' object has no attribute 'atoms'

Then when I tried to delete the structure I got the same message as before:

>>> Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1345, in __call__
    return self.func(*args)
  File
"/home/simon/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditStructuresPopup.py",
line 286, in deleteStructure
    self.structure.delete()
  File "/home/simon/ccpnmr/ccpnmr1.0/python/memops/api/Implementation.py",
line 288, in delete
    raise ApiError("memops.Implementation.MemopsBaseClass.delete: "
ApiError: memops.Implementation.MemopsBaseClass.delete: called with deleted
self:

hope that helps,

simon