Fixes/lamni hw commissioning #266
No Reviewers
Labels
Clear labels
issue::not confirmed
issue::not reproducible
issue::reproducible
priority::critical
priority::needed
priority::nice to have
scope::backend
scope::frontend
stage::in development
stage::on hold
stage::pre_release
stage::ready for review
stage::selected for development
stage::weekly backlog
type::bug
type::discussion
type::doc
type::feature
type::improvement
type::test
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Used if an issue has not yet been confirmed by a developer
Used if an issue is not reproducible
Used if a developer was able to reproduce the issue
Should be done as soon as possible
An important update to the code base
Not really needed but a good improvement
An issue regarding the backend services
An issue regarding the user-facing services
This issue is currently being worked on
Something is blocking the development
For issues that have been merged into a pre-release branch and are waiting for their release.
For issues that have been resolved and are ready for review
This issue has been selected for development but has not been scheduled yet
This issue has been selected for development for the next development cycle
It's a bug!
A discussion is wanted/needed
Improvements to the documentation
A new feature
Neither a feature nor a bug but an improvement to the code base
Missing tests or improvements to the test suite
Something is not working
This issue or pull request already exists
New feature
Need some help
Something is wrong
More information is needed
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
acerbo_a (acerbo_a)
appel_c (appel_c)
bec-gitea
celcer_t (celcer_t)
debenjak_l (debenjak_l)
diaz (diaz)
divall_e (divall_e)
guizar_m (guizar_m)
haghta_s (haghta_s)
holler (holler)
lombosi_c (lombosi_c)
menzel (menzel)
perl_d (perl_d)
usov_i (usov_i)
wakonig_k (wakonig_k)
wang_x1 (wang_x1)
wyzula_j (wyzula_j)
zamofing_t (zamofing_t)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: bec/csaxs_bec#266
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
e3c979adf19ce917aLamNI's tomo_scan() wrote a separate scilog entry ("Starting subtomo: N...") every time the sub-tomogram number changed -- 8 extra entries per tomo_type-1 scan, and one per sub-tomogram traversed for types 2/3 -- leftover behavior carried over from omny.py during the flomni->lamni port. Flomni itself never does this: it only writes at scan start (PDF report) and scan end (timing summary). Removed the three _write_subtomo_to_scilog() call sites and the now-unused method so LamNI's scilog behavior matches Flomni's. Also fixed a stale test (test_tomo_queue_reacquire_rejects_when_another_job_is_incomplete) that encoded the old, buggy tomo_queue_reacquire() invariant (rejecting on ANY other job being incomplete/running) rather than the fixed one from the prior commit (only an EARLIER job is a real conflict) -- split it into two tests covering both directions. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>test_lamni_account_change_reset.py and test_lamni_tomo_angles.py set builtins.__dict__["bec"] directly with no cleanup, so a leaked fake account ("e22222") from an earlier test file was still in place when test_x_ray_eye_align.py later constructed a real LamNI(), tripping _maybe_reset_params_on_account_change()'s interactive yesno() prompt and failing under pytest's captured stdin. Use monkeypatch.setitem so pytest reverts the global after each test, matching the pattern already used in test_lamni_tomo_alignment_scan.py. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>