mailr8739 - /1.3/generic_fns/pipes.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 05, 2009 - 11:30:
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]
 
 




Related Messages


Powered by MHonArc, Updated Thu Feb 05 12:00:03 2009