Skip to content

Commit

Permalink
Merge branch 'main' into creation-from-other-zarr
Browse files Browse the repository at this point in the history
  • Loading branch information
brokkoli71 authored Feb 18, 2025
2 parents 888b984 + e8bfb64 commit 50375b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zarr/testing/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def orthogonal_indices(
)
| basic_indices(min_dims=1, shape=(size,), allow_ellipsis=False)
.map(lambda x: (x,) if not isinstance(x, tuple) else x) # bare ints, slices
.filter(lambda x: bool(x)) # skip empty tuple
.filter(bool) # skip empty tuple
)
(idxr,) = val
if isinstance(idxr, int):
Expand Down

0 comments on commit 50375b6

Please sign in to comment.