Print

Print


>
> 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'
>

This popup's code had been updated. Change "table" to "scrolledMatrix".

Or do:

peakList = top.argumentServer.getPeakList()
for peak in peakList.peaks:
  peak.setFigOfMerit(0.0)


T.

-------------------------------------------------------------------------------
 Dr Tim Stevens			Email: [log in to unmask]
 Department of Biochemistry            [log in to unmask]
 University of Cambridge        Phone: +44 1223 766018 (office)
 80 Tennis Court Road	               +44 7816 338275 (mobile)
 Old Addenbrooke's Site 	       +44 1223 364613 (home)
 Cambridge  CB2 1GA	   	WWWeb: http://www.bio.cam.ac.uk/~tjs23
 United Kingdom 		       http://www.pantonia.co.uk
-------------------------------------------------------------------------------
------ +NH3CH(CH(CH3)OH)C(O)NHCH(CH(CH3)CH2CH3)C(O)NHCH(CH2CH2SCH3)CO2- -------
-------------------------------------------------------------------------------