Hi Patrick,
> 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?)
Are you trying to get a list of all the assignments for a peak list?
Or a shift list? If there is a need for an 'export of all resonances'
to Sparky format, let me know (also the format it should be in).
> 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?
The name of the spectrum should be in the top bar - at least that's
what the code says. I could be using the wrong attribute though. Do
you see the project name in the top bar?
> 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.
This is likely because it's only picking up 1 dimension to set the
ppm values for your peaks - do you have a 1D spectrum in there? That
would not work in the current code...
Wim
|