Skip to content

Can't open a read-only dataset #607

@hyanwong

Description

@hyanwong

I'm getting errors with this:

sc2ts/sc2ts/dataset.py", line 261, in init
  self.store = zarr.ZipStore(path)

According to chatGPT:

zarr.ZipStore is trying to open the ZIP file in a mode that requires write access.
Your plain open(...) succeeds because the default mode for open() is read-only ("r"). But zarr.ZipStore(...)defaults to append/update mode > (mode="a"), which requires write permission on the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions