Wim,
> 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).
This is for the shifts (resonances) (not a peak list). I believe that
this is usually stored in the project file in Sparky, but you can also
export/import these. I will try to get you some more info on the
required format.
>> 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?
No, all the information that I saw was what I listed above. But I think
you might be on to something with your next comment:
>
> 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...
Yes, I have various 1D spectra in this project, actually. I wonder if
this might also what causes the earlier window to pop up (it had only
one peak dimension listed there). I suppose it makes sense that this is
a problem since Sparky does not handle 1Ds...
Patrick
|