From 1c1c53e83b446f437a3a8378ad0052386f09050a Mon Sep 17 00:00:00 2001 From: Guilherme Pires Date: Fri, 8 Jul 2022 18:33:58 -0700 Subject: [PATCH] make s3 paths work --- ome_zarr/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ome_zarr/format.py b/ome_zarr/format.py index 5bca76de..91d88713 100644 --- a/ome_zarr/format.py +++ b/ome_zarr/format.py @@ -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: