feat: X10SA energy range 10-20 keV, compact sample list headers #213

Merged
duan_j merged 3 commits from update-10s-energy-range into main 2026-09-10 17:06:43 +02:00
Owner

Pick the monochromator energy limits by BEAMLINE env via mx_beamline().
X10SA gets 10-20 keV per the 6124 planner feedback (first commit had 6-30,
corrected in the follow-up), other beamlines keep the 4-20 keV placeholder
until confirmed. Both Set Energy spinboxes and the tooltip follow the
constants.

Also compacts the user sample list: the four count columns (mount, raster,
screening, rotation) use single-glyph headers instead of long labels to
save width, Comment moves ahead of the data-collection params, and
transmission shows the stored value instead of a percent conversion.
Unit test updated to match.

Generated with Claude Code

Pick the monochromator energy limits by BEAMLINE env via mx_beamline(). X10SA gets 10-20 keV per the 6124 planner feedback (first commit had 6-30, corrected in the follow-up), other beamlines keep the 4-20 keV placeholder until confirmed. Both Set Energy spinboxes and the tooltip follow the constants. Also compacts the user sample list: the four count columns (mount, raster, screening, rotation) use single-glyph headers instead of long labels to save width, Comment moves ahead of the data-collection params, and transmission shows the stored value instead of a percent conversion. Unit test updated to match. Generated with [Claude Code](https://claude.com/claude-code)

Coverage report (automated)

Total line + branch coverage: 51%
Diff coverage vs main: 100% (minimum 80%)

Full report: coverage artifact on this run.

Coverage report (automated) Total line + branch coverage: 51% Diff coverage vs main: 100% (minimum 80%) Full report: coverage artifact on this run.
duan_j changed title from feat: X10SA energy range 6-30 keV to feat: X10SA energy range 10-20 keV, compact sample list headers 2026-09-10 17:02:02 +02:00
duan_j added 3 commits 2026-09-10 17:04:44 +02:00
Pick the mono limits by BEAMLINE env via mx_beamline(): X10SA gets
6-30 keV, other beamlines keep the 4-20 placeholder until confirmed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
feat: compact sample list headers, move Comment column
CI / lint (pull_request) Successful in 42s
CI / test (3.12) (pull_request) Successful in 1m4s
CI / test (3.14) (pull_request) Successful in 1m3s
CI / test (3.13) (pull_request) Successful in 1m8s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m17s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m25s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m12s
CI / test-with-coverage (pull_request) Successful in 1m26s
CI / lint (push) Successful in 30s
Docs build and publish / docker (push) Successful in 11s
CI / test (3.12) (push) Canceled after 35s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 25s
CI / test (3.13) (push) Canceled after 32s
CI / test (3.14) (push) Canceled after 30s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 27s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 22s
CI / test-with-coverage (push) Canceled after 20s
CI / coverage-analysis (push) Canceled after 0s
Build and Publish / release (push) Successful in 22s
CI / coverage-analysis (pull_request) Successful in 14s
d5a7074ec1
Count columns use glyphs instead of long headers to save width, Comment
moves ahead of the data-collection params, transmission shown as the
stored value instead of percent.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
duan_j force-pushed update-10s-energy-range from c69522f017 to d5a7074ec1 2026-09-10 17:04:44 +02:00 Compare
duan_j scheduled this pull request to auto merge when all checks succeed 2026-09-10 17:05:18 +02:00
duan_j merged commit d5a7074ec1 into main 2026-09-10 17:06:43 +02:00
Sign in to join this conversation.