Hi Tim,
you once posted an excellent couple of lines of code which will change
the Figure of Merit for all selected peaks:
for peak in top.popups['edit_peak_list'].table.currentObjects:
peak.setFigOfMerit(0.0)
I have been using every now and again. But when I tried it just now, I
got a traceback:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
KeyError: 'edit_peak_list'
I realised that I was trying to use this on peaks that are selected in
the 'Peak Selection' rather than the 'Edit Peaks' popup. Could you let
me know how I need to change the code for it to work on the selected
peaks in the 'Peak Selection' pop-up (if that is possible)?
Thanks a lot.
Vicky
--
****************************************************
Dr. Victoria A. Higman
Leibniz-Institut fuer Molekulare Pharmakologie (FMP)
Robert-Roessle-Str. 10
13125 Berlin
Germany
Phone: +49-30-94793 223
E-mail: [log in to unmask]
****************************************************
|