Skip to content

fix(python): compose volume transforms in rendering order - #265

Open
afonsobspinto wants to merge 4 commits into
masterfrom
feature/python-volume-info-transforms
Open

afonsobspinto wants to merge 4 commits into
masterfrom
feature/python-volume-info-transforms

Conversation

@afonsobspinto

@afonsobspinto afonsobspinto commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Fixes the transform order used by Viewer.volume_info() and volume reads. The old order could swap axis offsets. It could also lose offsets when placing a 2D image in 3D.

  • Uses the existing rendering transform helper. It applies the transforms in the correct order and handles added dimensions.
  • Adds regression tests for OME transforms and 2D-to-3D placement.
  • Corrects existing tests that expected reversed coordinates. The expected bounds come from the fixture metadata.

@afonsobspinto
afonsobspinto marked this pull request as ready for review November 2, 2026 23:44

@seankmartin seankmartin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me if want to make against upstream thanks

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