We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f58593b commit 61fd99dCopy full SHA for 61fd99d
src/mdio/segy/blocked_io.py
@@ -61,7 +61,8 @@ def to_zarr(
61
62
# Chunksize here is for multiprocessing, not Zarr chunksize.
63
pool_chunksize, extra = divmod(num_chunks, num_workers * 4)
64
- pool_chunksize += 1 if extra else 0
+ if extra:
65
+ pool_chunksize += 1
66
67
tqdm_kw = {"unit": "block", "dynamic_ncols": True}
68
0 commit comments