mailr7944 - /1.3/relax_io.py


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

Header


Content

Posted by edward on October 23, 2008 - 16:56:
Author: bugman
Date: Thu Oct 23 16:56:12 2008
New Revision: 7944

URL: http://svn.gna.org/viewcvs/relax?rev=7944&view=rev
Log:
Epydoc'd the tee function docstring.


Modified:
    1.3/relax_io.py

Modified: 1.3/relax_io.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/relax_io.py?rev=7944&r1=7943&r2=7944&view=diff
==============================================================================
--- 1.3/relax_io.py (original)
+++ 1.3/relax_io.py Thu Oct 23 16:56:12 2008
@@ -406,7 +406,19 @@
 
 
 def tee(file_name=None, dir=None, compress_type=0, verbosity=1):
-    """Turn on teeing to split both STDOUT and STDERR streams and sending 
second part to a file."""
+    """Turn on teeing to split both STDOUT and STDERR streams and sending 
second part to a file.
+
+    @param file_name:       The name of the file to extract the data from.
+    @type file_name:        str
+    @param dir:             The path where the file is located.  If None, 
then the current directory
+                            is assumed.
+    @type dir:              str
+    @param compress_type:   The compression type.  The integer values 
correspond to the compression
+                            type: 0, no compression; 1, Bzip2 compression; 
2, Gzip compression.
+    @type compress_type:    int
+    @param verbosity:       The verbosity level.
+    @type verbosity:        int
+    """
 
     # Tee file.
     tee_file, file_path = open_write_file(file_name=file_name, dir=dir, 
force=True, compress_type=compress_type, verbosity=verbosity, return_path=1)




Related Messages


Powered by MHonArc, Updated Thu Oct 23 17:00:06 2008