Skip to content

Commit 95b2573

Browse files
committed
fix massive string block and fix default key_separator kwarg for FSStore
1 parent be8f37f commit 95b2573

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

zarr/storage.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,11 +1036,13 @@ class FSStore(MutableMapping):
10361036
When accessing data, any of these exceptions will be treated
10371037
as a missing key
10381038
meta_keys : list or tuple of str
1039-
Defaults to the zarr meta keys, i.e. (".zarray", ".zgroup", ".zattrs").
1039+
Reserved keys for metadata.
1040+
Defaults to the zarr metatadata keys, i.e. (".zarray", ".zgroup", ".zattrs").
10401041
dimension_separator : {'.', '/'}, optional
10411042
Separator placed between the dimensions of a chunk.
10421043
storage_options : passed to the fsspec implementation
1043-
def __init__(self, url, normalize_keys=True, key_separator='.',
1044+
"""
1045+
def __init__(self, url, normalize_keys=True, key_separator=None,
10441046
mode='w',
10451047
exceptions=(KeyError, PermissionError, IOError),
10461048
meta_keys=(array_meta_key, group_meta_key, attrs_key),
@@ -1065,7 +1067,6 @@ def __init__(self, url, normalize_keys=True, key_separator='.',
10651067

10661068
# Pass attributes to array creation
10671069
self._dimension_separator = dimension_separator
1068-
10691070
if self.fs.exists(self.path) and not self.fs.isdir(self.path):
10701071
raise FSPathExistNotDir(url)
10711072

0 commit comments

Comments
 (0)