Hello,
I have some questions and an error to report for an attempt to export a
sparky project. First of all, my aim was to export the assignments
(resonances) from a CCPNMR project to be used in sparky. There seemed no
way to just export the resonances though, so I tried to export the data
as a sparky project, hoping to recover the resonances from the generated
sparky.proj file. (Is there a better way to just get the resonances
exported for use in sparky?)
First of all, during the export it popped up a window entitled
'DatadimRef selection for PeakDims', which listed the sparky peak dim
and a selector for PeakDim Sel. From the dialog and help button it
appears that this might be referring to the export of a specific
spectrum (or its peaks). Would it be possible to have the dialog
indicate this more clearly, and perhaps name the file name / experiment
name?
Also, after this I got an error during the exporting of the sparky proj
file. I pasted the error messages below. Analysis also popped up a
message indicating that an error had occurred during the proj export.
Patrick
#########################################
# FormatConverter: executing writePeaks #
#########################################
Warning: Multiple assignments currently not supported for sparky. Only
using first one.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
self.run()
File
"~/research/software/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/ImportExportFormatPopup.py",
line 91, in run
File
"~/research/software/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py",
line 834, in writeProject
returnValue = self.createFullProject(fileName,**keywds)
File
"~/research/software/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/SparkyFormat.py",
line 348, in createFullProject
File
"~/research/software/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py",
line 2284, in writePeaks
self.setPeakFilePeaks()
File
"~/research/software/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py",
line 7676, in setPeakFilePeaks
self.createPeakFilePeak()
File
"~/research/software/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/SparkyFormat.py",
line 668, in createPeakFilePeak
File
"~/research/software/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccp/format/sparky/peaksIO.py",
line 357, in __init__
File
"~/research/software/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccp/format/sparky/peaksIO.py",
line 365, in setValue
TypeError: expected string or buffer
|