Skip to content

Commit d8060ec

Browse files
committed
alter text in comment
1 parent 76407f5 commit d8060ec

File tree

1 file changed

+1
-1
lines changed
  • src/zarr/core/metadata

1 file changed

+1
-1
lines changed

src/zarr/core/metadata/v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def from_dict(cls, data: dict[str, Any]) -> ArrayV2Metadata:
179179
# handle the renames
180180
expected |= {"dtype", "chunks"}
181181

182-
# check if `filters` is an empty tuple; if so use None instead and raise a warning
182+
# check if `filters` is an empty sequence; if so use None instead and raise a warning
183183
if _data["filters"] is not None and len(_data["filters"]) == 0:
184184
msg = (
185185
"Found an empty list of filters in the array metadata document. "

0 commit comments

Comments
 (0)