Skip to content

Commit 732a29d

Browse files
committed
Fix split-channels tests for zarr v3
1 parent 804e311 commit 732a29d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/napari_tmidas/_tests/test_split_channels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def test_get_timepoint_count_ome_zarr(self):
344344
with tempfile.TemporaryDirectory() as tmpdir:
345345
zarr_path = Path(tmpdir) / "timelapse.zarr"
346346
root = zarr.open_group(str(zarr_path), mode="w")
347-
root.create_dataset(
347+
root.create_array(
348348
"0",
349349
shape=(7, 3, 16, 16),
350350
chunks=(1, 3, 16, 16),
@@ -379,7 +379,7 @@ def test_sort_files_by_timepoints_with_zarr(self):
379379

380380
zarr_path = input_dir / "img_t5.zarr"
381381
root = zarr.open_group(str(zarr_path), mode="w")
382-
root.create_dataset(
382+
root.create_array(
383383
"0",
384384
shape=(5, 2, 8, 8),
385385
chunks=(1, 2, 8, 8),

0 commit comments

Comments
 (0)