aboutsummaryrefslogtreecommitdiff
path: root/qolab/file_utils/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/file_utils/__init__.py')
-rw-r--r--qolab/file_utils/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/qolab/file_utils/__init__.py b/qolab/file_utils/__init__.py
index ab674ae..8d403e8 100644
--- a/qolab/file_utils/__init__.py
+++ b/qolab/file_utils/__init__.py
@@ -134,7 +134,10 @@ def save_table_with_header(
- None : no compression (default)
- gzip : gzip method of compression
- bzip : bzip2 method of compression
- compresslevel : 9 (default) the highest compression, 0 no compression at all, as it is defined for gzip in Lib/gzip.py
+ compresslevel : 0 to 9 (default)
+ Compression level as it is defined for gzip in Lib/gzip.py
+ - 0 : no compression at all
+ - 9 : the highest compression (default)
match_filename_to_compression: True (default) or False
If True changes the filename suffix in accordance with compression method,
e.g. 'data.dat' -> 'data.dat.gz' if compression is set to 'gzip',