Skip to content

Commit

Permalink
Fix data path?
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Dec 9, 2024
1 parent 34d4842 commit f9ab948
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tutorial.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)
Expand Down

0 comments on commit f9ab948

Please sign in to comment.