Author: bugman Date: Wed Sep 24 19:17:29 2008 New Revision: 7267 URL: http://svn.gna.org/viewcvs/relax?rev=7267&view=rev Log: Updated the set_selected_sim() method. Modified: 1.3/specific_fns/relax_fit.py Modified: 1.3/specific_fns/relax_fit.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/relax_fit.py?rev=7267&r1=7266&r2=7267&view=diff ============================================================================== --- 1.3/specific_fns/relax_fit.py (original) +++ 1.3/specific_fns/relax_fit.py Wed Sep 24 19:17:29 2008 @@ -1184,17 +1184,14 @@ """ - def set_selected_sim(self, instance, select_sim): + def set_selected_sim(self, spin, select_sim): """Set the simulation selection flag for the spin. - @param instance: The optimisation instance index. - @type instance: int + @param spin: The spin container. + @type spin: SpinContainer instance @param select_sim: The selection flag for the simulations. @type select_sim: bool """ - - # Get the SpinContainer. - spin = return_spin_from_index(instance) # Multiple spins. spin.select_sim = select_sim