Author: bugman Date: Thu Feb 5 11:30:37 2009 New Revision: 8739 URL: http://svn.gna.org/viewcvs/relax?rev=8739&view=rev Log: Modified the get_pipe() function to check if a data pipe exists. 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=8739&r1=8738&r2=8739&view=diff ============================================================================== --- 1.3/generic_fns/pipes.py (original) +++ 1.3/generic_fns/pipes.py Thu Feb 5 11:30:37 2009 @@ -141,6 +141,9 @@ if name == None: name = cdp_name() + # Test if the data pipe exists. + test(name) + return ds[name]