I will reply properly after today's Analysis course...
However, in essence I think I have fixed the first bug (but need to make
a few more tweaks/tests before I post a patch) and that the second bug is
a result of the first.
T.
> 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
>
-------------------------------------------------------------------------------
Dr Tim Stevens Email: [log in to unmask]
Department of Biochemistry [log in to unmask]
University of Cambridge Phone: +44 1223 766022 (office)
80 Tennis Court Road +44 7816 338275 (mobile)
Old Addenbrooke's Site +44 1223 364613 (home)
Cambridge CB2 1GA WWWeb: http://www.bio.cam.ac.uk/~tjs23
United Kingdom http://www.pantonia.co.uk
-------------------------------------------------------------------------------
------ +NH3CH(CH(CH3)OH)C(O)NHCH(CH(CH3)CH2CH3)C(O)NHCH(CH2CH2SCH3)CO2- -------
-------------------------------------------------------------------------------
|