Author: bugman Date: Mon Jul 18 16:01:21 2011 New Revision: 13696 URL: http://svn.gna.org/viewcvs/relax?rev=13696&view=rev Log: Fixes for the noe.spectrum_type user function in the auto NOE analysis GUI test. Modified: branches/gui_testing/test_suite/gui_tests/noe.py Modified: branches/gui_testing/test_suite/gui_tests/noe.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/test_suite/gui_tests/noe.py?rev=13696&r1=13695&r2=13696&view=diff ============================================================================== --- branches/gui_testing/test_suite/gui_tests/noe.py (original) +++ branches/gui_testing/test_suite/gui_tests/noe.py Mon Jul 18 16:01:21 2011 @@ -120,7 +120,7 @@ status.install_path + sep + 'test_suite' + sep + 'shared_data' + sep + 'peak_lists' + sep + 'sat_ave.list' ] errors = [3600, 3000] - types = ['Saturated', 'Reference'] + types = [0, 1] # Loop over the 2 spectra. for i in range(2): @@ -146,7 +146,7 @@ # Set the type. page = analysis.wizard.get_page(analysis.page_indices['spectrum_type']) - page.spectrum_type.SetValue(str_to_gui(types[i])) + page.spectrum_type.SetSelection(types[i]) # Go to the next page (i.e. finish). analysis.wizard._go_next(None)