mailr6381 - /1.3/generic_fns/results.py


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

Header


Content

Posted by edward on June 22, 2008 - 13:08:
Author: bugman
Date: Sun Jun 22 13:08:42 2008
New Revision: 6381

URL: http://svn.gna.org/viewcvs/relax?rev=6381&view=rev
Log:
The write() function now catches and translates the special dir name 
'pipe_name'.


Modified:
    1.3/generic_fns/results.py

Modified: 1.3/generic_fns/results.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/results.py?rev=6381&r1=6380&r2=6381&view=diff
==============================================================================
--- 1.3/generic_fns/results.py (original)
+++ 1.3/generic_fns/results.py Sun Jun 22 13:08:42 2008
@@ -123,6 +123,10 @@
     if not ds.current_pipe:
         raise RelaxNoPipeError
 
+    # The special data pipe name directory.
+    if directory == 'pipe_name':
+        directory = ds.current_pipe
+
     # Specific results writing function.
     if format == 'xml':
         format = 'XML'




Related Messages


Powered by MHonArc, Updated Sun Jun 22 13:40:10 2008