Hi Wim
I tried the data shifter but I dont currently seem to be able to get it to
work, it fires up OK (by the way the actual path is python
$CCPNMR_TOP_DIR/ccpnmr1.0/python/ccpnmr/format/gui/DataShifter.py) but after
I read in my project 1 and project 2 xml files and try and copy my shiftlist
across it fails giving the traceback below.
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
return self.func(*args)
File "/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/DataShifter.py", li
ne 1654, in <lambda>
button = Tkinter.Button(master, text = shiftLabelText, command = lambda butt
onKeyword = buttonKeyword, toProjectNum = shiftCol:self.shiftData(buttonKeyword,
toProjectNum), state = buttonState)
File "/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/DataShifter.py", li
ne 1727, in shiftData
copyClass = CopyClass(ccpnObject,toProject,(self.guiParent,self.multiDialog,
self.messageReporter,self.dataEntry),verbose = self.verbose)
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/DataShifter.py", li
ne 178, in __init__
self.copyObject()
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/DataShifter.py", li
ne 195, in copyObject
self.toObject =
createInProject(self.ccpnObject,self.toProject,copyOrder,sel
f.createdObjectDict, self.toProjectResInfo, self.dialogInfo,
postponedObjects = self.postponedObjects, ignorePresets =
self.ignorePresets, verbose = self.verbos e, ignoreAttrs =
self.ignoreAttrs)
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/DataShifter.py", li
ne 616, in createInProject
copyObject(linkedCcpnObject,toProject,createdObjectDict,postponedLinkDict,me
taInfo,toProjectResInfo,postponedObjects,dialogInfo, ignorePresets =
ignorePrese ts, verbose = verbose)
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/DataShifter.py", li
ne 1375, in copyObject
newObjects =
setPresetLinks(metaRole,[otherObject],toProject,keywds,createdO
bjectDict,toProjectResInfo,postponedObjects, dialogInfo, verbose = verbose)
File
"/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/DataShifter.py", li
ne 1054, in setPresetLinks
resNames.pop(1)
IndexError: pop index out of range
I am not sure I am doing it correctly, it also fails if I try and copy a
Molecular System over. Have you any suggestions on what might be wrong?
The molecular system I have in the target project has unassigned residues
that I am trying to transfer the assignments onto via the shiftlist, I got
this to work using the (tedious) export into nmrview format and back into
analysis so I am confident it can work. So in this instance will copying
just the shiftlist over work or do I need to copy over the molecular system,
then the molecule, then the shiftlist and then use copy chain assignments in
Analysis?
(Also, the export method would be easier if we could export to xeasy format
then back in but this currently does not work for renumbered shiftlists.)
Cheers
Ben
|