While deleting a chain we spotted a couple of minor problems:
1. When trying to deassign all resonances for a chain by selecting them all in the resonance popup and pressing the Deassign button, the resonances become disassociated from their chain but still carry some sort of assignment string and live on (visible when selecting "Any" chain). (maybe related to 2)
2. When trying to deassign all resonances for a chain by selecting them all in the resonance popup and pressing the Deassign button, we get offered the option to remove the resonance assignments from the peaks by another popup, but this doesn't seem to work (or maybe just does one?). Workaround is to display all the peaks using the Show Total peaks button and deassign from there.
3. When deleting the last chain of a molecular template we are offered the option to delete the molecular template too, but get the traceback below because the molecular template is locked. Workaround is to unlock and delete from the molecular template dialog, but would be more elegant if the popup either didn't appear or had the power to do what it offered!
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/ccpnmr1.0.13/ccpnmr1.0/python/ccpnmr/analysis/EditMoleculePopup.py", line 447, in deleteMolecule
self.molecule.delete()
File "/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/memops/api/Implementation.py", line 283, in delete
obj._preDelete(objsToBeDeleted, objsToBeChecked, linkCounter, storagesToCheck)
File "/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/ccp/api/molecule/Molecule.py", line 5875, in _preDelete
raise ApiError("MolResidue of %s cannot be deleted if molecule is finalised or has chains" % self.molecule.name)
ApiError: MolResidue of paicpnew cannot be deleted if molecule is finalised or has chains
|