mailr13935 - /branches/gui_testing/test_suite/gui_tests/model_free.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on July 27, 2011 - 18:28:
Author: bugman
Date: Wed Jul 27 18:28:28 2011
New Revision: 13935

URL: http://svn.gna.org/viewcvs/relax?rev=13935&view=rev
Log:
The dauvergne_protocol GUI test now sets the values needed and sets the 
protocol to be automatic.


Modified:
    branches/gui_testing/test_suite/gui_tests/model_free.py

Modified: branches/gui_testing/test_suite/gui_tests/model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/test_suite/gui_tests/model_free.py?rev=13935&r1=13934&r2=13935&view=diff
==============================================================================
--- branches/gui_testing/test_suite/gui_tests/model_free.py (original)
+++ branches/gui_testing/test_suite/gui_tests/model_free.py Wed Jul 27 
18:28:28 2011
@@ -33,7 +33,7 @@
 
 # relax GUI imports.
 from gui.misc import float_to_gui, str_to_gui
-from gui.user_functions import relax_data, sequence
+from gui.user_functions import relax_data, sequence, value
 from gui.wizard import Wiz_window
 
 
@@ -92,6 +92,17 @@
             relax_data_read.frq.SetValue(float_to_gui(data[i][3]))
             relax_data_read.on_execute()
 
+        # Set the values.
+        value_set = value.Set_page(wizard, self.gui)
+        value_set.set_param('csa')
+        value_set.on_execute()
+        value_set.set_param('r')
+        value_set.on_execute()
+        value_set.set_param('heteronuc_type')
+        value_set.on_execute()
+        value_set.set_param('proton_type')
+        value_set.on_execute()
+
         # Select only the tm0 and tm1 local tm models.
         analysis.local_tm_model_field.select = [True, True, False, False, 
False, False, False, False, False, False]
         analysis.local_tm_model_field.modify(None)
@@ -105,6 +116,10 @@
 
         # Set the number of Monte Carlo simulations.
         analysis.mc_sim_num.SetValue(2)
+
+        # Set the protocol mode to automatic.
+        analysis.mode_win.select_full_analysis(None)
+        analysis.mode_dialog(None)
 
         # Check that the data has been correctly updated prior to execution.
         analysis.sync_ds(upload=True)




Related Messages


Powered by MHonArc, Updated Wed Jul 27 19:20:02 2011