Author: bugman Date: Sun Apr 21 21:04:41 2013 New Revision: 19563 URL: http://svn.gna.org/viewcvs/relax?rev=19563&view=rev Log: Fixes for the frq.set user function in the GUI. The ID list is now set to the spectrum IDs, and the frequency units are no longer all fused into one string. Modified: trunk/user_functions/frq.py Modified: trunk/user_functions/frq.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/frq.py?rev=19563&r1=19562&r2=19563&view=diff ============================================================================== --- trunk/user_functions/frq.py (original) +++ trunk/user_functions/frq.py Sun Apr 21 21:04:41 2013 @@ -24,6 +24,7 @@ # relax module imports. import pipe_control.frq +from pipe_control import spectrum from graphics import WIZARD_IMAGE_PATH from user_functions.data import Uf_info; uf_info = Uf_info() from user_functions.objects import Desc_container @@ -43,7 +44,10 @@ name = "id", py_type = "str", desc_short = "experiment ID", - desc = "The experiment identification string." + desc = "The experiment identification string.", + wiz_element_type = 'combo', + wiz_combo_iter = spectrum.get_ids, + wiz_read_only = True ) uf.add_keyarg( name = "frq", @@ -60,8 +64,8 @@ wiz_element_type = "combo", wiz_combo_choices = [ "Hz", - "kHz" - "MHz" + "kHz", + "MHz", "GHz" ], wiz_read_only = False