The fix for the not drawing peaks (when there is no spectrum data file) is
as follows. In ccpnmr1.0/python/ccpnmr/analysis/WindowDraw.py in the
function drawViewPeaks() there is a bit of code:
if (not hasattr(spectrum, 'block_file') or not spectrum.block_file):
return
Just remove those two lines. In fact remove the same two lines from the
function drawViewBox(). The only place those two lines should appear in
that file is in drawView(). (You definitely need the block_file then.)
This will be fixed in the next release but you might as well make the
changes for yourself now.
Wayne
On Tue, 27 Sep 2005, Tim Stevens wrote:
> > I have imported peak lists into Analysis (using formatConverter).
> > Since I wanted the new peaks to be in a new shift list I imported the
> > peaks into new experiments..
> >
> > I want to see these peaks in the graphics window, how do I do that?
> > It seems as if experiments not conatining spectrum data can not be
> > plotted, how come?
>
> If peaks have been imported into an experiment they must, given the Data
> Model, have an associated spectrum, even if that spectrum does not have
> any data associated with it.
>
> It seems that there is a problem in displaying peaks from spectra without
> any block data. Wayne is looking into fixing this now. What you tried to
> do should be possible.
>
>
> > Can I in some way associate peaklists to experiments, without letting
> > them share shift lists?
>
> No. This is set in stone in the Data Model. If peaks share an experiment
> then this dictates that they were recorded on the same sample under the
> same conditions and so share a shift list. - The shift list is linked to
> the experiment not the peak lists.
>
>
> > I would also like to know if there is some way of transferring
> > experiments between projects, without converting to another format?
>
> Wim has something for that...
>
> Tim
>
> -------------------------------------------------------------------------------
> Dr Tim Stevens Email: [log in to unmask]
> Department of Biochemistry [log in to unmask]
> University of Cambridge Phone: +44 1223 766022 (office)
> 80 Tennis Court Road +44 7816 338275 (mobile)
> Old Addenbrooke's Site +44 1223 364613 (home)
> Cambridge CB2 1GA WWWeb: http://www.bio.cam.ac.uk/~tjs23
> United Kingdom http://www.pantonia.co.uk
> -------------------------------------------------------------------------------
> ------ +NH3CH(CH(CH3)OH)C(O)NHCH(CH(CH3)CH2CH3)C(O)NHCH(CH2CH2SCH3)CO2- -------
> -------------------------------------------------------------------------------
>
|