ContainsArrayError Traceback (most recent call last) Cell In[10], line 8 6 store2 = ome_zarr.io.parse_url(\"all_zeros.ome.zarr\",mode=\"a\").store 7 root2 = zarr.group(store=store2) ----> 8 ome_zarr.writer.write_image(image=vol, group=root2, axes=\"zyx\",chunks=128) File .venv\\Lib\\site-packages\\ome_zarr\\writer.py:492, in write_image(image, group, scaler, chunks, fmt, axes, coordinate_transformations, storage_options, compute, **metadata) 490 else: 491 mip, axes = _create_mip(image, fmt, scaler, axes) --> 492 dask_delayed_jobs = write_multiscale( 493 mip, 494 group, 495 chunks=chunks, 496 fmt=fmt, 497 axes=axes, 498 coordinate_transformations=coordinate_transformations, 499 storage_options=storage_options, 500 name=None, 501 compute=compute, 502 **metadata, 503 ) 505 return dask_delayed_jobs File .venv\\Lib\\site-packages\\ome_zarr\\writer.py:266, in write_multiscale(pyramid, group, chunks, fmt, axes, coordinate_transformations, storage_options, name, compute, **metadata) 263 dask_delayed.append(da_delayed) 265 else: --> 266 group.create_dataset(str(path), data=data, chunks=chunks_opt, **options) 268 datasets.append({\"path\": str(path)}) 270 if coordinate_transformations is None: File .venv\\Lib\\site-packages\\zarr\\hierarchy.py:1111, in Group.create_dataset(self, name, **kwargs) 1052 \"\"\"Create an array. 1053 1054 Arrays are known as \"datasets\" in HDF5 terminology. For compatibility (...) 1107 1108 \"\"\" 1109 assert \"mode\" not in kwargs -> 1111 return self._write_op(self._create_dataset_nosync, name, **kwargs) File .venv\\Lib\\site-packages\\zarr\\hierarchy.py:952, in Group._write_op(self, f, *args, **kwargs) 949 lock = self._synchronizer[group_meta_key] 951 with lock: --> 952 return f(*args, **kwargs) File .venv\\Lib\\site-packages\\zarr\\hierarchy.py:1126, in Group._create_dataset_nosync(self, name, data, **kwargs) 1123 a = create(store=self._store, path=path, chunk_store=self._chunk_store, **kwargs) 1125 else: -> 1126 a = array(data, store=self._store, path=path, chunk_store=self._chunk_store, **kwargs) 1128 return a File .venv\\Lib\\site-packages\\zarr\\creation.py:441, in array(data, **kwargs) 438 read_only = kwargs.pop(\"read_only\", False) 440 # instantiate array --> 441 z = create(**kwargs) 443 # fill with data 444 z[...] = data File .venv\\Lib\\site-packages\\zarr\\creation.py:209, in create(shape, chunks, dtype, compressor, fill_value, order, store, synchronizer, overwrite, path, chunk_store, filters, cache_metadata, cache_attrs, read_only, object_codec, dimension_separator, write_empty_chunks, zarr_version, meta_array, storage_transformers, **kwargs) 206 path = \"/\" 208 # initialize array metadata --> 209 init_array( 210 store, 211 shape=shape, 212 chunks=chunks, 213 dtype=dtype, 214 compressor=compressor, 215 fill_value=fill_value, 216 order=order, 217 overwrite=overwrite, 218 path=path, 219 chunk_store=chunk_store, 220 filters=filters, 221 object_codec=object_codec, 222 dimension_separator=dimension_separator, 223 storage_transformers=storage_transformers, 224 ) 226 # instantiate array 227 z = Array( 228 store, 229 path=path, (...) 236 meta_array=meta_array, 237 ) File .venv\\Lib\\site-packages\\zarr\\storage.py:454, in init_array(store, shape, chunks, dtype, compressor, fill_value, order, overwrite, path, chunk_store, filters, object_codec, dimension_separator, storage_transformers) 451 if not compressor: 452 # compatibility with legacy tests using compressor=[] 453 compressor = None --> 454 _init_array_metadata( 455 store, 456 shape=shape, 457 chunks=chunks, 458 dtype=dtype, 459 compressor=compressor, 460 fill_value=fill_value, 461 order=order, 462 overwrite=overwrite, 463 path=path, 464 chunk_store=chunk_store, 465 filters=filters, 466 object_codec=object_codec, 467 dimension_separator=dimension_separator, 468 storage_transformers=storage_transformers, 469 ) File .venv\\Lib\\site-packages\\zarr\\storage.py:523, in _init_array_metadata(store, shape, chunks, dtype, compressor, fill_value, order, overwrite, path, chunk_store, filters, object_codec, dimension_separator, storage_transformers) 521 if not overwrite: 522 if contains_array(store, path): --> 523 raise ContainsArrayError(path) 524 elif contains_group(store, path, explicit_only=False): 525 raise ContainsGroupError(path) ContainsArrayError: path '0' contains an array"