Print

Print


Dear Justin,

It looks like this code was not updated when we made a relevant model 
change. I would rather have Wayne look at it - he knows the code better, 
but he is away today and tomorrow.

Menawhile I can see a couple of things to fix in
.../ccpn/python/ccpnmr/format/converters/Azar

Line        From                          To
128  self.rawData.numberType    self.rawData.dataStore.numberType
159  self.rawData.isBigEndian   self.rawData.dataStore.isBigEndian

I cannot guarantee that it will work correctly after this, but it is worth 
a try.

The rest is for Wayne.

Yours,

Rasmus

---------------------------------------------------------------------------
Dr. Rasmus H. Fogh                  Email: [log in to unmask]
Dept. of Biochemistry, University of Cambridge,
80 Tennis Court Road, Cambridge CB2 1GA, UK.     FAX (01223)766002

On Thu, 9 Dec 2010, Justin Lecher wrote:

> Hi all,
>
> I am trying to read in a varian procpar into the Formatconverter to get
> the correct output files for a processing with azara. Sadly this
> procedure seems to be perfectly screwed.
>
> Attached you will find the procpar file and the error.log.
>
> Traceback (most recent call last):
>  File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
>    return self.func(*args)
>  File
> "/usr/lib64/python2.6/site-packages/ccpn/python/ccpnmr/format/gui/ProcFilePopup.py",
> line 176, in <lambda>
>    lambda :
> self.writeFile(self.azara,['processingPars','processingScript'])]
>  File
> "/usr/lib64/python2.6/site-packages/ccpn/python/ccpnmr/format/gui/ProcFilePopup.py",
> line 346, in writeFile
>    if exportFunc(self.fileName, **addKeywds):
>  File
> "/usr/lib64/python2.6/site-packages/ccpn/python/ccpnmr/format/converters/DataFormat.py",
> line 3663, in writeProcPars
>    self.setProcPars()
>  File
> "/usr/lib64/python2.6/site-packages/ccpn/python/ccpnmr/format/converters/DataFormat.py",
> line 15364, in setProcPars
>    self.setProcParsSpecific()
>  File
> "/usr/lib64/python2.6/site-packages/ccpn/python/ccpnmr/format/converters/AzaraFormat.py",
> line 128, in setProcParsSpecific
>    if self.rawData.numberType == 'int':
> AttributeError: 'DataSource' object has no attribute 'numberType'
>
>
> Cheers justin
>
> -- 
> Justin Lecher
> Institute of Structural Biology and Biophysics
> ISB-3 Structural Biochemistry
> Research Centre Juelich
> 52425 Juelich, Germany
> phone: +49 2461 61 2117
>
>