Skip to content

Commit 07c11d9

Browse files
author
Martin Durant
committed
Add comment [skip ci]
1 parent e2811ca commit 07c11d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zarr/convenience.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def open(store=None, mode='a', **kwargs):
7373
path = kwargs.get('path', None)
7474
# handle polymorphic store arg
7575
clobber = mode == 'w'
76+
# we pass storage options explicitly, since normalize_store_arg might construct
77+
# a store if the input is a fsspec-compatible URL
7678
store = normalize_store_arg(store, clobber=clobber,
7779
storage_options=kwargs.pop("storage_options", {}))
7880
path = normalize_storage_path(path)

0 commit comments

Comments
 (0)