Skip to content

Commit

Permalink
Use zarr_format=2 for download dask.to_zarr()
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Jan 16, 2025
1 parent 6c4ba92 commit 872ce11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ome_zarr/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ def download(input_path: str, output_dir: str = ".") -> None:
LOGGER.info("resolution %s...", dataset)
with pbar:
data.to_zarr(
str(target_path / dataset), dimension_separator="/"
str(target_path / dataset),
zarr_format=2,
dimension_separator="/",
)
else:
# Assume a group that needs metadata, like labels
Expand Down

0 comments on commit 872ce11

Please sign in to comment.