Print

Print


You can tell that bit of code has not been used in quite some time!

That volumeType should instead by 'volume'.

Wayne

On Fri, 26 Sep 2003, Brian Smith wrote:

> Wayne,
>
>         OK caught that one - here's the next
>
> Exception in Tkinter callback
> Traceback (most recent call last):
>   File "/usr/local/ccpnmr/python2.2/lib/python2.2/lib-tk/Tkinter.py", line
> 1316, in __call__
>     return apply(self.func, args)
>   File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditPeakPopup.py",
> line 269, in commit
>     setupManualPeakVolume(self.peak, volume)
>   File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/PeakBasic.py",
> line 280, in setupManualPeakVolume
>     Nmr.PeakIntensity(peak, intensityType=volumeType, value=volume,
> method=method)
> NameError: global name 'volumeType' is not defined
>
>
> --
> Dr. Brian O. Smith ------------------------ [log in to unmask]
>           Division of Biochemistry & Molecular Biology,
>              Institute Biomolecular & Life Sciences,
>            University of Glasgow, Glasgow G12 8QQ, UK.
> Tel: 0141 330 5167                             Fax: 0131 330 8640
>