diff --git a/sc2ts/dataset.py b/sc2ts/dataset.py index d6f1c02..26e6280 100644 --- a/sc2ts/dataset.py +++ b/sc2ts/dataset.py @@ -258,7 +258,7 @@ def __init__(self, path, chunk_cache_size=1, date_field=None): self.date_field = date_field self.path = pathlib.Path(path) if self.path.suffix == ".zip": - self.store = zarr.ZipStore(path) + self.store = zarr.ZipStore(path, mode="r") else: self.store = zarr.DirectoryStore(path) self.root = zarr.open(self.store, mode="r")