-
-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
Labels.data_setitem
setting of view by taking dims order into a…
…ccount (#6616) # References and relevant issues closes #6615 # Description In #6607, we started painting into both the data and the slice view. (And this was already happening and broken when painting into lazy arrays such as zarr and dask, #6112.) However, when setting the view we need to take into account the axis ordering used when slicing (some axes may be transposed). This manifested as an index error in #6615. In this PR, we add an `indices_order` argument to `index_in_slice` function and the function returns indices in the requested order, which we can then use to set the view.
- Loading branch information
Showing
3 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters