Commit 2f53940
committed
fix(ome_zarr): π strip TIFF-sequence chunk singletons at any position
The previous fix only stripped *leading* singleton dims from each
file's own shape. A writer that puts the stray singleton at the end
instead (e.g. (y, x, 1), a samples-per-pixel axis) would still hit
"axes don't match array". Generalize to drop a singleton wherever it
falls in the per-file shape, keeping whichever two dims are real.1 parent ea209d3 commit 2f53940
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
731 | | - | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
732 | 733 | | |
733 | | - | |
734 | | - | |
| 734 | + | |
| 735 | + | |
735 | 736 | | |
736 | 737 | | |
737 | 738 | | |
738 | 739 | | |
739 | 740 | | |
740 | 741 | | |
741 | | - | |
742 | | - | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
743 | 747 | | |
744 | 748 | | |
745 | 749 | | |
| |||
0 commit comments