Skip to content

Fix max calculation in assertAllTDimensionsEqual method#217

Merged
tpietzsch merged 1 commit into
bigdataviewer:masterfrom
stefanhahmann:patch-wrong-assert
Mar 3, 2026
Merged

Fix max calculation in assertAllTDimensionsEqual method#217
tpietzsch merged 1 commit into
bigdataviewer:masterfrom
stefanhahmann:patch-wrong-assert

Conversation

@stefanhahmann
Copy link
Copy Markdown
Contributor

This pull request fixes a bug in the RandomAccessibleIntervalMipmapSource4D class by correcting how the maximum value for the T (time) dimension is determined during interval comparison.

Bug fix:

  • Fixed the assignment of the max variable in the assertAllTDimensionsEqual method to correctly use intervals[0].max(3) instead of intervals[0].min(3), ensuring accurate comparison of the T dimension across intervals.

stefanhahmann added a commit to BioImageTools/ome-zarr-fiji-java that referenced this pull request Mar 3, 2026
stefanhahmann added a commit to BioImageTools/ome-zarr-fiji-java that referenced this pull request Mar 3, 2026
stefanhahmann added a commit to BioImageTools/ome-zarr-fiji-java that referenced this pull request Mar 3, 2026
stefanhahmann added a commit to BioImageTools/ome-zarr-fiji-java that referenced this pull request Mar 3, 2026
@tpietzsch tpietzsch merged commit abe649b into bigdataviewer:master Mar 3, 2026
1 check passed
@tpietzsch
Copy link
Copy Markdown
Member

Good catch, thanks!

stefanhahmann added a commit to BioImageTools/ome-zarr-fiji-java that referenced this pull request Mar 4, 2026
stefanhahmann added a commit to BioImageTools/ome-zarr-fiji-java that referenced this pull request Mar 4, 2026
stefanhahmann added a commit to BioImageTools/ome-zarr-fiji-java that referenced this pull request Mar 5, 2026
stefanhahmann added a commit to BioImageTools/ome-zarr-fiji-java that referenced this pull request Mar 6, 2026
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.

2 participants