File tree 1 file changed +8
-4
lines changed
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:
96
96
zarr_key_chars = st .sampled_from (
97
97
".-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"
98
98
)
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" )
101
103
)
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" )
104
108
)
105
109
array_names = node_names
106
110
attrs = st .none () | st .dictionaries (_attr_keys , _attr_values )
You can’t perform that action at this time.
0 commit comments