Author: bugman Date: Mon Feb 2 10:44:48 2009 New Revision: 8710 URL: http://svn.gna.org/viewcvs/relax?rev=8710&view=rev Log: Added tests for the existence of the current data pipe. Modified: branches/ave_noe/generic_fns/minimise.py Modified: branches/ave_noe/generic_fns/minimise.py URL: http://svn.gna.org/viewcvs/relax/branches/ave_noe/generic_fns/minimise.py?rev=8710&r1=8709&r2=8710&view=diff ============================================================================== --- branches/ave_noe/generic_fns/minimise.py (original) +++ branches/ave_noe/generic_fns/minimise.py Mon Feb 2 10:44:48 2009 @@ -1,6 +1,6 @@ ############################################################################### # # -# Copyright (C) 2003-2005, 2007-2008 Edward d'Auvergne # +# Copyright (C) 2003-2005, 2007-2009 Edward d'Auvergne # # # # This file is part of the program relax. # # # @@ -117,6 +117,9 @@ the verbosity. @type verbosity: int """ + + # Test if the current data pipe exists. + pipes.test() # Alias the current data pipe. cdp = pipes.get_pipe() @@ -161,6 +164,9 @@ the verbosity. @type verbosity: int """ + + # Test if the current data pipe exists. + pipes.test() # Alias the current data pipe. cdp = pipes.get_pipe() @@ -213,6 +219,9 @@ @type sim_index: None or int """ + # Test if the current data pipe exists. + pipes.test() + # Alias the current data pipe. cdp = pipes.get_pipe()