Skip to content

Commit fe41d63

Browse files
committed
ENH: Add --ome-zarr-version CLI flag
1 parent bb65a48 commit fe41d63

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ngff_zarr/cli.py

+7
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def _multiscales_to_ngff_zarr(
7676
multiscales,
7777
progress=rich_dask_progress,
7878
use_tensorstore=args.use_tensorstore,
79+
version=args.ome_zarr_version,
7980
)
8081

8182

@@ -206,6 +207,12 @@ def main():
206207
type=int,
207208
default=0,
208209
)
210+
metadata_group.add_argument(
211+
"--ome-zarr-version",
212+
help="OME-Zarr version",
213+
default="0.4",
214+
choices=["0.4", "0.5"],
215+
)
209216

210217
processing_group = parser.add_argument_group("processing", "Processing options")
211218
processing_group.add_argument(

0 commit comments

Comments
 (0)