Hi,
I still have this problem of importing a peaklist that I exported from
CCPN.
1) I exported the peaklist from CCPN
2) I import the peaklist to a different CCPN project
> - Open FormatConverter
> - Go to M:Import:combined files:shifts and peaks:XEASY
> - Set CYANA format on
> - select peak file
> - Select shift file
> - Do *NOT* select a peak assignment file
> - In advanced options:
> - set 'Use existing Data Source' to the approriate spectrum
> - leave 'Match existing Resonances' on
> - Set 'Minimal Interactions
>
> - Press the button to import
> - You will be asked how to map peak list dimensions to experiment
> dimensions. Leave as is. If that gives the wrong result try again
> and swap the dimensions.
> - When the program asks you if you want to run 'linkResonaces' say
> *no*.
>
> You will now have an extra imported peak list, with assignments.
> There will be no extra shift lists.
3) Peaks are displayed on the target spectrum BUT without assignment
and I get an error message (see below)
Why is there no assignment?
What is wrong?
Carolin
#################################################
# FormatConverter: executing readShiftsAndPeaks #
#################################################
Exception in Tkinter callback
Traceback (most recent call last):
File "/Applications/ccpnmr/python2.6/lib/python2.6/lib-tk/
Tkinter.py", line 1410, in __call__
return self.func(*args)
File "/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/gui/
ImportExportFormatPopup.py", line 979, in ok
if (not self.apply()):
File "/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/gui/
ImportExportFormatPopup.py", line 992, in apply
returnValue = self.importExportFile(self.component) # If none,
will do all components
File "/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/gui/
ImportExportFormatPopup.py", line 799, in importExportFile
returnValue = rwFunc(*addArgs,**addKeywds)
File "/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/
converters/DataFormat.py", line 3901, in readShiftsAndPeaks
peakList = self.readPeakAssignments(self.peakAssignmentFile,
verbose = False, peakList = peakLists[0], minimalPrompts =
self.minimalPrompts, resetIOkeywords = False)
File "/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/
converters/DataFormat.py", line 2734, in readPeakAssignments
self.peakAssignmentSetData()
File "/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/
converters/DataFormat.py", line 12619, in peakAssignmentSetData
self.setPeakDimContribs(0,peakDims = [], resonances = [])
File "/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/
converters/DataFormat.py", line 12382, in setPeakDimContribs
peakDim = self.peak.sortedPeakDims()[self.assignDim[peakAssignDim]]
TypeError: list indices must be integers, not NoneType
|