Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix is_total_slice for size-1 dimensions #1800

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

dcherian
Copy link

@dcherian dcherian commented Apr 18, 2024

Closes #1730

[Description of PR]

TODO:

  • Add unit tests and/or doctests in docstrings
  • Changes documented in docs/release.rst
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

Closes zarr-developers#1730

Co-authored-by: Ryan Abernathey <ryan.abernathey@gmail.com>
Copy link

codecov bot commented Apr 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.98%. Comparing base (b98f694) to head (ccc7ee2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1800   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files          38       38           
  Lines       14640    14644    +4     
=======================================
+ Hits        14638    14642    +4     
  Misses          2        2           
Files Coverage Δ
zarr/tests/test_util.py 100.00% <100.00%> (ø)
zarr/util.py 100.00% <ø> (ø)

@jhamman jhamman merged commit 9d046ea into zarr-developers:main Apr 22, 2024
18 checks passed
@jhamman jhamman added this to the 2.18.0 milestone Apr 22, 2024
@dcherian dcherian deleted the fix-is-total-slice branch April 22, 2024 21:55
dcherian added a commit to dcherian/zarr-python that referenced this pull request May 13, 2024
dcherian added a commit to dcherian/zarr-python that referenced this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

is_total_slice doesn't handle integer indexes correctly
2 participants