Author: bugman Date: Wed Jul 20 15:56:27 2011 New Revision: 13780 URL: http://svn.gna.org/viewcvs/relax?rev=13780&view=rev Log: Bug fix - the pipe switching flag is now propagated all the way to the data store add() method. The flag was previously not sent to the method so that the creation of a new data pipe always resulted in a switch to that pipe. This bug is normally harmless. Modified: 1.3/generic_fns/pipes.py Modified: 1.3/generic_fns/pipes.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pipes.py?rev=13780&r1=13779&r2=13780&view=diff ============================================================================== --- 1.3/generic_fns/pipes.py (original) +++ 1.3/generic_fns/pipes.py Wed Jul 20 15:56:27 2011 @@ -80,8 +80,7 @@ 'relax_fit': Relaxation curve fitting, 'relax_disp': Relaxation dispersion, @type pipe_type: str - @keyword switch: If True, this new pipe will be switched to, otherwise the current data pipe - will remain as is. + @keyword switch: If True, this new pipe will be switched to, otherwise the current data pipe will remain as is. @type switch: bool """ @@ -98,7 +97,7 @@ raise RelaxError("The frame order analysis is not available. Please install the scipy Python package.") # Add the data pipe. - ds.add(pipe_name=pipe_name, pipe_type=pipe_type) + ds.add(pipe_name=pipe_name, pipe_type=pipe_type, switch=switch) def cdp_name():