Author: bugman Date: Wed Sep 24 19:18:50 2008 New Revision: 7268 URL: http://svn.gna.org/viewcvs/relax?rev=7268&view=rev Log: Shifted set_selected_sim() to the base class. Modified: 1.3/specific_fns/base_class.py 1.3/specific_fns/relax_fit.py Modified: 1.3/specific_fns/base_class.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/base_class.py?rev=7268&r1=7267&r2=7268&view=diff ============================================================================== --- 1.3/specific_fns/base_class.py (original) +++ 1.3/specific_fns/base_class.py Wed Sep 24 19:18:50 2008 @@ -287,6 +287,19 @@ # Throw a RelaxError. if value or param: raise RelaxError, "Do not know how to handle the non-spin specific parameters " + `param` + " with the values " + `value` + + + def set_selected_sim(self, spin, select_sim): + """Set the simulation selection flag for the spin. + + @param spin: The spin container. + @type spin: SpinContainer instance + @param select_sim: The selection flag for the simulations. + @type select_sim: bool + """ + + # Set the array. + spin.select_sim = select_sim def set_update(self, param, spin): Modified: 1.3/specific_fns/relax_fit.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/relax_fit.py?rev=7268&r1=7267&r2=7268&view=diff ============================================================================== --- 1.3/specific_fns/relax_fit.py (original) +++ 1.3/specific_fns/relax_fit.py Wed Sep 24 19:18:50 2008 @@ -1184,19 +1184,6 @@ """ - def set_selected_sim(self, spin, select_sim): - """Set the simulation selection flag for the spin. - - @param spin: The spin container. - @type spin: SpinContainer instance - @param select_sim: The selection flag for the simulations. - @type select_sim: bool - """ - - # Multiple spins. - spin.select_sim = select_sim - - def sim_pack_data(self, spin_id, sim_data): """Pack the Monte Carlo simulation data.