Hello,
The spectrum contour colors should be preserved, and also the order. At
least that's what I see the code doing and I tried it on the v2 tutorial
project (so data converted from the v1 tutorial project) and it seemed to
work ok (well, at least the colors, since I'm not sure the order was ever
set).
So in v1, the color (and order/rank) information was stored in
application-specific data hanging off the spectrum. This data should have
been carried along by the data conversion (e.g. you can check for
"posContourColor" in the ccp/nmr/Nmr/*.xml file).
In v2 we now have a new class called AnalysisSpectrum, which is used to
store lots of information that used to be stored as application-specific
data, e.g. the colors.
When you first start up v2 Analysis on a v1-converted project it needs to
create the AnalyaisSpectrum object corresponding to each spectrum, and as
part of that it should initialise the v2 color attributes using the v1 app
data (if that exists).
So it's a bit puzzling what happened to your data. If it has
posContourColor and negContourColor and order in that ccp/nmr/Nmr/*.xml
file then can you send me the project so I can try debugging the problem
here. (If it doesn't have those then I'm not sure why they got stripped
out.)
Wayne
On Mon, 3 Nov 2008, Victoria Higman wrote:
> Hello,
>
> I have converted my project using the CCPN v1 to v2 Data Upgrade Form.
> The project opens nicely in Analysis v2, but unfortunately, my spectrum
> colours, orders and contours are lost. I noticed that the column
> headings in the 'Edit Spectrum' pop-up have changed slightly: 'Pos.
> Contour color' has now become 'Positive colors' and 'Order' has become
> 'Rank'. But nonetheless the contents should presumably be roughly
> equivalent. Is there any chance of this information being carried over
> during project conversion?
>
> Thanks,
>
> Vicky
>
> *********************************************
> Dr. Victoria Higman
> Leibniz-Institut für Molekulare Pharmakologie
> Robert-Rössle-Str. 10
> 13125 Berlin
> Germany
> +49-30-94793-223
> [log in to unmask]
> http://www.protein-nmr.org.uk
>
|