Hi,
I created a new MolSys/Molecule/Chain because I had to change some
protonation states and therefor I need a new sequence. Then I moved the
assignment which was all fine.
But removing the old stuff breaks the project. Especially the
intergration with the ECI module wasn't cleaned correctly.
During removal this error came up:
non-reciprocal link Entry from object:
<ccp.general.DbRef.Entry ['UniProt', 3]>
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
return self.func(*args)
File
"/usr/lib64/python2.6/site-packages/ccpn/python/ccpnmr/analysis/popups/EditMolecules.py",
line 2124, in deleteChain
molecule.delete()
File
"/usr/lib64/python2.6/site-packages/ccpn/python/memops/api/Implementation.py",
line 4164, in delete
obj._checkDelete(objsToBeDeleted, objsToBeChecked, linkCounter,
topObjectsToCheck)
File
"/usr/lib64/python2.6/site-packages/ccpn/python/ccp/api/molecule/Molecule.py",
line 7806, in _checkDelete
+ ": %s" % (self,)
ApiError: ccp.molecule.Molecule.Molecule._checkDelete:
Object can not be deleted while molComponents is set:
<ccp.molecule.Molecule.Molecule ['C39-137']>
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
return self.func(*args)
File
"/usr/lib64/python2.6/site-packages/ccpn/python/ccpnmr/analysis/popups/EditMolecules.py",
line 2391, in deleteMolecule
molecule.delete()
File
"/usr/lib64/python2.6/site-packages/ccpn/python/memops/api/Implementation.py",
line 4164, in delete
obj._checkDelete(objsToBeDeleted, objsToBeChecked, linkCounter,
topObjectsToCheck)
File
"/usr/lib64/python2.6/site-packages/ccpn/python/ccp/api/molecule/Molecule.py",
line 7806, in _checkDelete
+ ": %s" % (self,)
ApiError: ccp.molecule.Molecule.Molecule._checkDelete:
Object can not be deleted while molComponents is set:
<ccp.molecule.Molecule.Molecule ['C39-137']>
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
return self.func(*args)
File
"/usr/lib64/python2.6/site-packages/ccpn/python/ccpnmr/analysis/popups/EditMolecules.py",
line 2207, in delMolSys
molSystem.delete()
File
"/usr/lib64/python2.6/site-packages/ccpn/python/memops/api/Implementation.py",
line 4195, in delete
notify(obj)
File
"/usr/lib64/python2.6/site-packages/ccpn/python/ccpnmr/analysis/popups/EditCalculation.py",
line 1349, in updateMolSystemPulldown
names = [ms.code for ms in molSystems]
After saving and reloading the project this one came up and the project
doesn't open at all:
Error loading file for: <ccp.molecule.Molecule.Molecule ['C39-137']>
Reading: <open file
'/usr2/bes/justin/C39-eNMR/C39_137/ccp/molecule/Molecule/C39_137+C39_137_justin_2010-01-16-22-26-42-860_00001.xml',
mode 'r' at 0x9a2de40>
Last xml tag read: _StorageUnit
Parser state was: checking validity
Object stack was empty
Error loading file for:
<ccp.lims.RefSampleComponent.RefSampleComponentStore ['eciDefault']>
Reading: <open file
'/usr2/bes/justin/C39-eNMR/C39_137/ccp/lims/RefSampleComponent/eciDefault+C39_137_justin_2010-09-27-17-58-51-661_00001.xml',
mode 'r' at 0x9a2dd20>
Last xml tag read: _StorageUnit
Parser state was: checking validity
Object stack was empty
Error loading file for: <ccp.lims.Sample.SampleStore ['eciDefault']>
Reading: <open file
'/usr2/bes/justin/C39-eNMR/C39_137/ccp/lims/Sample/eciDefault+C39_137_justin_2010-09-27-16-51-36-580_00001.xml',
mode 'r' at 0x8ebe6f0>
Last xml tag read: SAM.SampleComponent.refComponent
Parser state was: reading
Current object was: <ccp.lims.Sample.SampleComponent ['eciDefault',
'Uniform_15N', 1]>
Error loading file for: <ccp.nmr.Nmr.NmrProject ['C39_137']>
Reading: <open file
'/usr2/bes/justin/C39-eNMR/C39_137/ccp/nmr/Nmr/C39_137+C39_137_justin_2010-01-16-22-24-21-532_00001.xml',
mode 'r' at 0x653b810>
Last xml tag read: NMR.Experiment.sample
Parser state was: reading
Current object was: <ccp.nmr.Nmr.Experiment ['C39_137', 1]>
Another Problem I saw, the eci module doesn't cleans the "Samples" and
"Samples Components" correctly. So if you remove a Sample and/or
component, it is still saved in the default xml. This produces problem
if the molecule is removed.
Thanks justin
--
Justin Lecher
Institute of Complex Systems
ICS-6 Structural Biochemistry
Research Centre Juelich
52425 Juelich, Germany
phone: +49 2461 61 2117
|