Skip to content

Bump ntnda-qt-viewer so detector x-axis labels run 0 -> N - #114

Merged
Anthony Sligar (sligara7) merged 1 commit into
NSLS2:mainfrom
sligara7:hex-viewer-axes
Oct 27, 2026
Merged

Anthony Sligar (sligara7) merged 1 commit into
NSLS2:mainfrom
sligara7:hex-viewer-axes

Conversation

@sligara7

Copy link
Copy Markdown
Contributor

The Kinetix live view's x axis reads 3200 → 0 left to right (Phoebus: 0 → 3200). The pinned ntnda-qt-viewer (6763cde) labels the axis from a rotate180-then-invert-x copy of the frame; the picture itself is drawn correctly. ntnda-qt-viewer 46dcea3 removed those orientation presets.

  • pixi.lock: ntnda-qt-viewer 6763cde → 778e714 (dev and gui only; no other package moves).
  • tests/gui/test_detector_viewer_axes.py: pushes a column-ramp frame into the viewer offscreen and checks the x labels increase left to right over source columns 0 → N. Fails on 6763cde, passes on 778e714.

Verified: offscreen widget test (no EPICS) plus the full suite in an env built from this lock (458 pass, ty clean). Not yet checked on the HEX GUI against the live Kinetix.

The pinned 6763cde drew the frame source-oriented but labelled the x axis from a rotate180-then-invert-x copy, so the Kinetix live view read 3200 -> 0 left to right (Phoebus: 0 -> 3200). ntnda-qt-viewer 46dcea3 (2026-10-26) dropped the orientation presets; at 778e714 the picture is unchanged and the labels match source pixels. Lock change is only ntnda-qt-viewer (dev and gui).

Assisted-by: copilot:claude-opus-5-5
Copilot AI balanced review requested due to automatic review settings October 27, 2026 14:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused dependency update and regression test address the reported reversal with no identified blockers, though live Kinetix validation remains outstanding.

No open issues 🎉

What changed in this PR

Updates the detector viewer dependency to correct reversed x-axis labels in the Kinetix live view.

Changes:

  • Advances ntnda-qt-viewer from 6763cde to 778e714 in the dev and gui environments, without changing other packages.
  • Adds an offscreen regression test checking increasing x-axis labels and source-column orientation.
File Description
tests/​gui/​test_detector_viewer_axes.py Adds column-ramp regression coverage for viewer x-axis orientation.
pixi.lock Updates both environment references and package metadata to the corrected viewer revision.

Review effort: Balanced

@sligara7
Anthony Sligar (sligara7) merged commit d87ea22 into NSLS2:main Oct 27, 2026
6 checks passed
@sligara7
Anthony Sligar (sligara7) deleted the hex-viewer-axes branch October 27, 2026 15:22
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