Skip to content

Commit

Permalink
make s3 paths work
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Pires committed Jul 9, 2022
1 parent 6c24f13 commit 1c1c53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ome_zarr/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def init_store(self, path: str, mode: str = "r") -> FSStore:
}

mkdir = True
if "r" in mode or path.startswith("http"):
if "r" in mode or path.startswith("http") or path.startswith("s3"):
# Could be simplified on the fsspec side
mkdir = False
if mkdir:
Expand Down

0 comments on commit 1c1c53e

Please sign in to comment.