Author: semor Date: Sat Apr 12 02:17:04 2008 New Revision: 5598 URL: http://svn.gna.org/viewcvs/relax?rev=5598&view=rev Log: Converted some more 'instance' arguments to calls to 'spin' and removed some now unused 'cdp' calls. This is a small part of what Edward d'Auvergne noticed in a post at: https://mail.gna.org/public/relax-devel/2008-04/msg00010.html (# Message-id: <7f080ed10804030909m3b540ee3y1d60009542c09694@xxxxxxxxxxxxxx>) Modified: 1.3/specific_fns/jw_mapping.py Modified: 1.3/specific_fns/jw_mapping.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/jw_mapping.py?rev=5598&r1=5597&r2=5598&view=diff ============================================================================== --- 1.3/specific_fns/jw_mapping.py (original) +++ 1.3/specific_fns/jw_mapping.py Sat Apr 12 02:17:04 2008 @@ -445,14 +445,11 @@ return spin.select_sim - def set_selected_sim(self, instance, select_sim): + def set_selected_sim(self, select_sim, spin): """Function for returning the array of selected simulation flags.""" - # Alias the current data pipe. - cdp = relax_data_store[relax_data_store.current_pipe] - - # Multiple instances. - cdp.res[instance].select_sim = select_sim + # Multiple spins. + spin.select_sim = select_sim def sim_pack_data(self, spin, sim_data):