fix(flomni,lamni): use .get() in tomo_queue_show()'s job-line formatter #297

Merged
holler merged 1 commits from fix/tomo-queue-show-keyerror into main 2026-08-17 15:53:54 +02:00
Member

A job's params dict only has whatever _TOMO_SCAN_PARAM_NAMES held when it
was snapshotted by tomo_queue_add(); a job persisted before a key was
added (e.g. fovx/fovy, tomo_circfov) raised KeyError on the hard p['key']
lookup, making the whole queue un-inspectable instead of just missing a
field.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

A job's params dict only has whatever _TOMO_SCAN_PARAM_NAMES held when it was snapshotted by tomo_queue_add(); a job persisted before a key was added (e.g. fovx/fovy, tomo_circfov) raised KeyError on the hard p['key'] lookup, making the whole queue un-inspectable instead of just missing a field. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
holler added 1 commit 2026-08-17 15:49:03 +02:00
fix(flomni,lamni): use .get() in tomo_queue_show()'s job-line formatter
CI for csaxs_bec / test (pull_request) Successful in 2m14s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 1m49s
67769d5ff8
A job's params dict only has whatever _TOMO_SCAN_PARAM_NAMES held when it
was snapshotted by tomo_queue_add(); a job persisted before a key was
added (e.g. fovx/fovy, tomo_circfov) raised KeyError on the hard p['key']
lookup, making the whole queue un-inspectable instead of just missing a
field.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
holler merged commit 67769d5ff8 into main 2026-08-17 15:53:54 +02:00
holler deleted branch fix/tomo-queue-show-keyerror 2026-08-17 15:53:54 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#297