Skip to content
Snippets Groups Projects

OME-ZARR Progress bar

2 files
+ 30
7
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
1
@@ -84,6 +84,7 @@ def export_ome_zarr(
replace=False,
method="scaleZYX",
progress_bar:bool = True,
progress_bar_repeat_time = "auto",
):
"""
Export image data to OME-Zarr format with pyramidal downsampling.
@@ -163,7 +164,7 @@ def export_ome_zarr(
shapes = (scaled_data.shape for scaled_data in mip),
dtypes = (scaled_data.dtype for scaled_data in mip)
)
with OmeZarrExportProgressBar(path = path, n_chunks = n_chunks, reapeat_time=5):
with OmeZarrExportProgressBar(path = path, n_chunks = n_chunks, reapeat_time=progress_bar_repeat_time):
write_multiscale(**kwargs)
else:
write_multiscale(**kwargs)
Loading