Upon trying to import crosspeaks from a 3D ANSIG .xpk file for one of the
2D spectra in the file I get:
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/ccpnmr/ccpnmr2.1/python/ccpnmr/format/gui/ImportExportFormatPopup.py",
line 979, in ok
if (not self.apply()):
File
"/usr/local/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
"/usr/local/ccpnmr/ccpnmr2.1/python/ccpnmr/format/gui/ImportExportFormatPopup.py",
line 799, in importExportFile
returnValue = rwFunc(*addArgs,**addKeywds)
File
"/usr/local/ccpnmr/ccpnmr2.1/python/ccpnmr/format/converters/DataFormat.py",
line 2431, in readPeaks
self.setPeaks()
File
"/usr/local/ccpnmr/ccpnmr2.1/python/ccpnmr/format/converters/DataFormat.py",
line 8667, in setPeaks
self.setPeakIntensity()
File
"/usr/local/ccpnmr/ccpnmr2.1/python/ccpnmr/format/converters/AnsigFormat.py",
line 244, in setPeakIntensity
peakInt = Nmr.PeakIntensity(self.peak,value = self.rawPeak.volume,
method = self.methods[self.format]['Volume'])
KeyError: 'Volume'
--
Dr. Brian O. Smith ---------------------- B Smith at bio gla ac uk
Division of Molecular & Cellular Biology,
Faculty of Biomedical & Life Sciences,
Joseph Black Building, University of Glasgow, Glasgow G12 8QQ, UK.
Tel: 0141 330 5167/6459/3089 Fax: 0141 330 4600
-------------------------------------------------------------------
The University of Glasgow, charity number SC004401
|