Author: bugman Date: Thu Jul 18 20:22:50 2013 New Revision: 20403 URL: http://svn.gna.org/viewcvs/relax?rev=20403&view=rev Log: Fixes for the last revision (r20402) for the mc_sim_all_models flag in the GUI. 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=20403&r1=20402&r2=20403&view=diff ============================================================================== --- branches/relax_disp/gui/analyses/auto_relax_disp.py (original) +++ branches/relax_disp/gui/analyses/auto_relax_disp.py Thu Jul 18 20:22:50 2013 @@ -231,7 +231,7 @@ # 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()) - data.mc_sim_all_models = gui_to_bool(self.mc_sim_all_models.GetValue()) + data.mc_sim_all_models = self.mc_sim_all_models.GetValue() # Optimisation precision. data.opt_func_tol = self.opt_func_tol @@ -482,9 +482,9 @@ # The All model MC sim flag. if upload: - self.data.mc_sim_all_models = gui_to_int(self.mc_sim_all_models.GetValue()) + self.data.mc_sim_all_models = self.mc_sim_all_models.GetValue() elif hasattr(self.data, 'mc_sim_all_models'): - self.mc_sim_all_models.SetValue(int(self.data.mc_sim_all_models)) + self.mc_sim_all_models.SetValue(bool(self.data.mc_sim_all_models)) # The results directory. if upload: