diff --git a/docs/tutorial.py b/docs/tutorial.py index 06d6d97..7ca17ac 100644 --- a/docs/tutorial.py +++ b/docs/tutorial.py @@ -1,11 +1,11 @@ # # Tutorial +from pathlib import Path import matplotlib.pyplot as plt import zarr import zarr.storage from rich.pretty import pprint -from ome_zarr_models.data import tutorial_data_path from ome_zarr_models.v04 import Image # ## Loading datasets @@ -15,6 +15,7 @@ # then create an image object from it. This will validate the # metadata. +tutorial_data_path = Path(__file__).parent / "data" / "cat.ome.zarr" print(f"Data path: {tutorial_data_path}") group = zarr.open(tutorial_data_path, mode='r') ome_zarr_image = Image(group=group)