From ab8c959652738c4f9c8616e3e3baae16b39eec8d Mon Sep 17 00:00:00 2001 From: Abe Levitan Date: Fri, 25 Feb 2022 12:25:01 -0500 Subject: [PATCH] fixing compression --- CDTools/tools/data/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CDTools/tools/data/data.py b/CDTools/tools/data/data.py index 18b4c2f..9b54ce1 100644 --- a/CDTools/tools/data/data.py +++ b/CDTools/tools/data/data.py @@ -643,7 +643,7 @@ def add_dark(cxi_file, dark): d1.create_dataset('data_dark',data=dark) -def add_data(cxi_file, data, axes=None, compression='lzp', +def add_data(cxi_file, data, axes=None, compression='lzf', chunks=True): """Adds the specified data to the cxi file