File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -96,11 +96,15 @@ def clear_store(x: Store) -> Store:
9696zarr_key_chars = st .sampled_from (
9797 ".-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"
9898)
99- node_names = st .text (zarr_key_chars , min_size = 1 ).filter (
100- lambda t : t not in ("." , ".." ) and not t .startswith ("__" )
99+ node_names = (
100+ st .text (zarr_key_chars , min_size = 1 )
101+ .filter (lambda t : t not in ("." , ".." ) and not t .startswith ("__" ))
102+ .filter (lambda name : name .lower () != "zarr.json" )
101103)
102- short_node_names = st .text (zarr_key_chars , max_size = 3 , min_size = 1 ).filter (
103- lambda t : t not in ("." , ".." ) and not t .startswith ("__" )
104+ short_node_names = (
105+ st .text (zarr_key_chars , max_size = 3 , min_size = 1 )
106+ .filter (lambda t : t not in ("." , ".." ) and not t .startswith ("__" ))
107+ .filter (lambda name : name .lower () != "zarr.json" )
104108)
105109array_names = node_names
106110attrs = st .none () | st .dictionaries (_attr_keys , _attr_values )
You can’t perform that action at this time.
0 commit comments