From 18a8a58fb89585b9c5176195ff334993df25f05d Mon Sep 17 00:00:00 2001 From: Ziwen Liu <67518483+ziw-liu@users.noreply.github.com> Date: Thu, 13 Jun 2024 10:19:13 -0700 Subject: [PATCH] fix ome-zarr-py CI issue --- setup.cfg | 2 +- tests/ngff/test_ngff.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index b73eb098..3afffeee 100644 --- a/setup.cfg +++ b/setup.cfg @@ -51,7 +51,7 @@ dev = hypothesis>=6.61.0 requests>=2.22.0 wget>=3.2 - ome-zarr>=0.6.1 + ome-zarr>=0.9.0 doc = matplotlib numpydoc>=1.1.0 diff --git a/tests/ngff/test_ngff.py b/tests/ngff/test_ngff.py index d1aae0ca..a781bc5b 100644 --- a/tests/ngff/test_ngff.py +++ b/tests/ngff/test_ngff.py @@ -199,7 +199,7 @@ def test_write_ome_zarr(channels_and_random_5d, arr_name): # round-trip test with the offical reader implementation ext_reader = Reader(parse_url(dataset.zgroup.store.path)) node = list(ext_reader())[0] - assert node.metadata["name"] == channel_names + assert node.metadata["channel_names"] == channel_names assert node.specs[0].datasets == [arr_name] assert node.data[0].shape == random_5d.shape assert node.data[0].dtype == random_5d.dtype