keller-mark / pizzarr

Slice into Zarr arrays in R 🍕
https://keller-mark.github.io/pizzarr/
MIT License
25 stars 2 forks source link

Fix multi-chunk selections #39

Closed keller-mark closed 10 months ago

keller-mark commented 10 months ago

Fixes #14 Fixes #19 Fixes #36

keller-mark commented 10 months ago

TODO: move slice_indices function to Slice$indices. Add comments from https://docs.python.org/3/reference/datamodel.html#slice.indices and add unit tests ensuring same behavior as python slice().indices(length)