Hello,
It was the experiment, rather than the spectrum, with the same name.
There is nothing illegal about having two experiments (or two spectra in
the same experiment) with the same name, although we wouldn't recommend it
(it's bound to cause confusion). The key for both experiment and spectrum
is serial, which is a unique integer automatically generated by the API so
doesn't mean very much. We did it that way so that people could change
the experiment and spectrum names. We generally don't show the serial in
popups.
In your case we think that in fact you only have one experiment, with two
spectra in it, not two experiments each with one spectrum. So renaming
the experiment of one spectrum will automatically rename the experiment of
the second spectrum since they are one and the same.
To check this authoritatively you can do at the Python prompt, for
example:
>>> nmrProject = top.nmrProject
>>> expts = nmrProject.findFirstExperiment(name=...)
>>> expts
>>> expt = expts[0]
>>> [ s.name for s in expt.dataSources ]
So we think that the expts result will give one experiment and that
experiment will have two names.
Wayne
On Fri, 17 Nov 2006, Justin Douglas wrote:
> Thanks for the info Rasmus. I'm sorry if I'm bugging you about trivial
> errors but I decided that it would be better to send every message;)
>
> I'm not sure if this is related to the upgrade but I get a strange behavior
> in Analysis. I accidentally misnamed a spectrum. In fact I have two
> spectra the same name. I went back to correct it and both spectra's name
> were changed.
>
> I've attached some screenshots.
>
> Thanks,
>
> Justin
>
|