Skip to content

Commit a0c0ef6

Browse files
committed
remove assert
1 parent cbfc197 commit a0c0ef6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/zarr/core/group.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,6 @@ def _getitem_consolidated(
715715
# where we explicitly know we have no children. In the None
716716
# case we have to fall back to non-consolidated metadata.
717717
raise _MixedConsolidatedMetadataException(key)
718-
assert metadata.consolidated_metadata is not None
719718

720719
metadata = metadata.consolidated_metadata.metadata[indexer]
721720
except KeyError as e:

0 commit comments

Comments
 (0)