Hello,
If you go into the Peaks --> Peak Lists dialog, then in the Peak Table
tab, at the bottom right there is a Propagate Merit button.
If you select a bunch of rows, then the last one you select will be the
one that is propagated to the others (it will be darker).
Wayne
On Fri, 29 May 2009, Christoph Brockmann wrote:
> 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]
> ---------------------------------------------------------
>
|