Hi Everyone,
I am trying to change the figure of merit for a couple of hundred
selected peaks but none of the previously communicated python commands
seem to work. Does anyone know how to do this in times of Analysis 2.0.7?
Thanks,
Christoph
Ben Goult wrote:
> Hi Vicky
>
> Thanks for the quick response, that is just what I need.
>
> However, when I try it I get an error
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/data/prog/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/BasePopup.py",
> line 393, in __getattr__
>
> AttributeError: EditPeakListPopup instance has no attribute 'table'
>
>
> I have the peak list editor open and have selected the peak rows.
>
> Any ideas what I am doing wrong?
>
> Cheers
>
> Ben
>
>
The object.names changed a while ago. Try these lines (also from Tim)
for peak in top.popups['edit_peak_list'].scrolledMatrix.currentObjects:
peak.setFigOfMerit(0.0)
Christoph
--
---------------------------------------------------------
Dr. Christoph Brockmann
Division of Structural Studies
MRC Laboratory of Molecular Biology
Hills Road
Cambridge, CB2 2QH
phone: +44-1223-40-2261 or +44-1223-40-2042
e-mail: [log in to unmask]
---------------------------------------------------------
|