Skip to content

Fix aggregate label materialization for separate viewer layers - #523

Merged
trissim merged 5 commits into
mainfrom
fix/aggregate-label-layer-515
Oct 3, 2026
Merged

trissim merged 5 commits into
mainfrom
fix/aggregate-label-layer-515

Conversation

@trissim

@trissim trissim commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

Automatic source-bound label TIFFs requested as separate viewer layers previously arrived without the scalar CHANNEL/SITE identity required by the strict route constructor. Reuse the existing typed plane projector to emit exact scalar items with borrowed pixel views while preserving the aggregate TIFF, source order, calibration and STACK display.

The existing stream metadata and backend-kwargs owners derive this behavior from the configured display axes. No component/function-specific projection, receiver default, forced STACK mode or second slicing algorithm is introduced. Single-output kwargs refuse a projection that must change pixels; batch saving carries the actual projected contents and identities.

Synced with main eea91cc (#524 point-ROI fixes and #525 documentation). Final head 1419c5b has byte-identical production source, tests and build configuration to the tested cab5363 checkpoint; the subsequent main merge changed two documentation files only. Validation at cab5363: 447 tests passed with no deselections, covering the 16 public synthetic automatic TIFF/wire cases, all four point-ROI/streaming suites, selected-plane and retained-stack projection, materialization and malformed-domain controls. The initial test invocation failed during collection because the temporary checkout lacked the built native extension. The passing rerun reused the existing environment and native binaries after verifying both C++ sources were byte-identical; no import fallback or test waiver was added. git diff --check passed.

The real renderer, TIFF writer, wire builder and original strict route constructor execute; only final viewer delivery is intercepted. The installed GUI/public journey remains an outstanding parent-owned integration check. No runtime speedup or installed acceptance is claimed.

Closes #515

Copilot AI balanced review requested due to automatic review settings October 3, 2026 07:45

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim
trissim merged commit 6afc9a3 into main Oct 3, 2026
2 of 37 checks passed
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.

Accepted separate-SITE layer display fails for aggregate labels and QA payloads at viewer settlement

2 participants