Hello,
Not sure what that error is about but that file, ExternalParams.py, has
not been updated on the update server in v2.2 so I'm not sure why it would
be causing a problem, and even more specifically that problem. (And the
other fixes look pretty orthogonal to me.) Is this a bog-standard
spectrum you are tying to open? That error seems to be implying that
that spectrum has no dimensions (if I'm reading the code correctly).
I can see that ExternalParams.py has been updated in our CVS repository,
though, so I'll ask Rasmus if he fixed something that should be on the
update server.
Wayne
On Wed, 24 Nov 2010, Vitaliy Gorbatyuk wrote:
> Hi Wayne,
> I have also got blank the first e-mail but I can see its content in the jiscmail account.
> Weird...
> Anyhow, thank you for the response. I have done Analysis update and now I get the following
> traceback when I want to open a spectrum in a new project:
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/home/vitaliy/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
> return self.func(*args)
> File "/home/vitaliy/ccpnmr/ccpnmr2.2/python/ccpnmr/analysis/popups/OpenSpectrum.py", line 361,
> in openSpectra
> shiftList)
> File "/home/vitaliy/ccpnmr/ccpnmr2.2/python/ccpnmr/analysis/popups/OpenSpectrum.py", line 842,
> in openSpectrum
> extraData=extraData)
> File "/home/vitaliy/ccpnmr/ccpnmr2.2/python/ccp/format/spectra/params/ExternalParams.py", line
> 520, in createDataSource
> lastEdrs = expDims[-1].expDimRefs
> IndexError: list index out of range
>
> Regards,
> Vitaliy
>
>
> > Date: Wed, 24 Nov 2010 11:40:19 +0000
> > From: [log in to unmask]
> > Subject: Re: problem with import
> > To: [log in to unmask]
> >
> > Hello,
> >
> > The first email came out blank. But from the second email I think the
> > underlying problem is that the import did not set up the referencing for
> > the peak, and Analysis expects that to be set for peaks. I've changed it
> > now so that we set the referencing in that function if it is not set.
> >
> > Wayne
> >
> > On Wed, 24 Nov 2010, Vitaliy Gorbatyuk wrote:
> >
> > > Also, I imported files in nmrView format and got the similar error. Please see
> > > the attachment for details.
> > > Thank you,
> > > Vitaliy
> > >
> > >
>
>
|