Skip to content

Commit bfba219

Browse files
committed
Use ZSTD(5) compression for uproot-raw
1 parent 5be2246 commit bfba219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code_generator_raw_uproot/servicex/templates/transform_single_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def transform_single_file(file_path: str, output_path: Path, output_format: str)
3232
# opening the file with open() is a workaround for a bug handling multiple colons
3333
# in the filename in uproot 5.3.9
3434
with open(output_path, 'b+w') as wfile:
35-
with uproot.recreate(wfile) as writer:
35+
with uproot.recreate(wfile, compression=uproot.ZSTD(5)) as writer:
3636
for k, v in awkward_array_dict.items():
3737
if output_format == 'root-file':
3838
if v[0] is not None:

0 commit comments

Comments
 (0)