mailr19565 - /branches/relax_disp/gui/analyses/auto_relax_disp.py


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

Header


Content

Posted by edward on April 21, 2013 - 21:12:
Author: bugman
Date: Sun Apr 21 21:12:34 2013
New Revision: 19565

URL: http://svn.gna.org/viewcvs/relax?rev=19565&view=rev
Log:
The relaxation dispersion auto-analysis is now correctly executed from the 
GUI.

The GUI data gathering is also now complete in the assemble_data() method.


Modified:
    branches/relax_disp/gui/analyses/auto_relax_disp.py

Modified: branches/relax_disp/gui/analyses/auto_relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/gui/analyses/auto_relax_disp.py?rev=19565&r1=19564&r2=19565&view=diff
==============================================================================
--- branches/relax_disp/gui/analyses/auto_relax_disp.py (original)
+++ branches/relax_disp/gui/analyses/auto_relax_disp.py Sun Apr 21 21:12:34 
2013
@@ -186,6 +186,12 @@
         # The dispersion models.
         data.models = self.model_field.GetValue()
 
+        # Increment size.
+        data.inc = gui_to_int(self.grid_inc.GetValue())
+
+        # The number of Monte Carlo simulations to be used for error 
analysis at the end of the analysis.
+        data.mc_sim_num = gui_to_int(self.mc_sim_num.GetValue())
+
         # Return the container and list of missing data.
         return data, missing
 
@@ -413,7 +419,7 @@
         """Execute the calculation."""
 
         # Execute.
-        Relax_disp(pipe_name=self.data.pipe_name, 
pipe_bundle=self.data.pipe_bundle, models=data.models, 
file_root=self.data.file_root, results_dir=self.data.save_dir, 
grid_inc=self.data.inc, mc_sim_num=self.data.mc_sim_num, view_plots=False)
+        Relax_disp(pipe_name=self.data.pipe_name, 
pipe_bundle=self.data.pipe_bundle, results_dir=self.data.save_dir, 
models=self.data.models, grid_inc=self.data.inc, 
mc_sim_num=self.data.mc_sim_num)
 
         # Alias the relax data store data.
         data = ds.relax_gui.analyses[self.data_index]




Related Messages


Powered by MHonArc, Updated Sun Apr 21 23:20:02 2013