Author: bugman Date: Wed Jan 12 09:49:45 2011 New Revision: 12228 URL: http://svn.gna.org/viewcvs/relax?rev=12228&view=rev Log: Fix for the removal of all data pipes prior to initial optimisation. The generic_fns.pipes.get_pipe() function was being used to test if a pipe exists rather than has_pipe(), causing a RelaxError if the pipe does not already exist. Modified: branches/bieri_gui/auto_analyses/dauvergne_protocol.py Modified: branches/bieri_gui/auto_analyses/dauvergne_protocol.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/auto_analyses/dauvergne_protocol.py?rev=12228&r1=12227&r2=12228&view=diff ============================================================================== --- branches/bieri_gui/auto_analyses/dauvergne_protocol.py (original) +++ branches/bieri_gui/auto_analyses/dauvergne_protocol.py Wed Jan 12 09:49:45 2011 @@ -570,7 +570,7 @@ name = self.diff_model # Create the data pipe (deleting the old one if it exists). - if pipes.get_pipe(name): + if pipes.has_pipe(name): self.interpreter.pipe.delete(name) self.interpreter.pipe.create(name, 'mf')