File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,8 @@ def _write_with_tensorstore(
134134 "shape" : dataset_shape ,
135135 },
136136 }
137- if zarr_format == 2 :
138- spec ["driver" ] = "zarr"
137+ if zarr_format == 2 and zarr_version_major < 3 :
138+ spec ["driver" ] = "zarr" if zarr_version_major < 3 else "zarr2"
139139 spec ["metadata" ]["chunks" ] = chunks
140140 spec ["metadata" ]["dimension_separator" ] = "/"
141141 spec ["metadata" ]["dtype" ] = array .dtype .str
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ def test_tensorstore_already_exists_failure():
138138 store = zarr_path ,
139139 multiscales = multiscales ,
140140 use_tensorstore = True , # Enable TensorStore
141- version = ' 0.5'
141+ # version=" 0.5",
142142 )
143143 end_time_write = time .time ()
144144 logger .info (
You can’t perform that action at this time.
0 commit comments