From 48ee7ecb30d1ab5f190e0f6f35fb9cd9154d87c0 Mon Sep 17 00:00:00 2001 From: Luca Marconato <2664412+LucaMarconato@users.noreply.github.com> Date: Mon, 23 Jan 2023 20:53:16 +0100 Subject: [PATCH 1/2] bugfix dimension_separator dask.array --- ome_zarr/writer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ome_zarr/writer.py b/ome_zarr/writer.py index 1277e8a7..5bf505fd 100644 --- a/ome_zarr/writer.py +++ b/ome_zarr/writer.py @@ -558,6 +558,7 @@ def _write_dask_image( storage_options=options, compute=False, compressor=options.get("compressor"), + dimension_separator=group._store._dimension_separator, ) ) datasets.append({"path": str(path)}) From d7ab47f1b50932bc9413b4a9082d2637603525c4 Mon Sep 17 00:00:00 2001 From: Luca Marconato <2664412+LucaMarconato@users.noreply.github.com> Date: Mon, 23 Jan 2023 21:12:30 +0100 Subject: [PATCH 2/2] bugfix was also needed in another place --- ome_zarr/writer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ome_zarr/writer.py b/ome_zarr/writer.py index 5bf505fd..bf100447 100644 --- a/ome_zarr/writer.py +++ b/ome_zarr/writer.py @@ -251,6 +251,7 @@ def write_multiscale( component=str(Path(group.path, str(path))), storage_options=options, compressor=options.get("compressor"), + dimension_separator=group._store._dimension_separator, ) else: group.create_dataset(str(path), data=data, chunks=chunks_opt, **options)