Fix controller off call in destroy #130

Merged
appel_c merged 2 commits from fix/controller_destroy into main 2026-01-26 07:45:01 +01:00
Owner

After refactoring the BEC server, we have removed any controller specific logic on the device server. This means that any device needs to fully implement its own logic in the wait_for_connection and destroy methods of ophyd. This PR adds the controller.off call to the destroy method for all Galil ophyd implementations.

This should resolve the reported issue with enable/disable for Flomni.

After refactoring the BEC server, we have removed any controller specific logic on the device server. This means that any device needs to fully implement its own logic in the `wait_for_connection` and `destroy` methods of ophyd. This PR adds the `controller.off` call to the destroy method for all Galil ophyd implementations. This should resolve the reported issue with enable/disable for Flomni.
appel_c added 2 commits 2026-01-22 08:47:38 +01:00
test: add test for controller to call destroy controller.off
All checks were successful
CI for csaxs_bec / test (push) Successful in 1m17s
CI for csaxs_bec / test (pull_request) Successful in 1m18s
3b3e516a98
appel_c force-pushed fix/controller_destroy from 3b3e516a98 to 5c5a5c3d98 2026-01-22 08:50:27 +01:00 Compare
appel_c requested review from holler 2026-01-22 08:51:27 +01:00
appel_c requested review from wakonig_k 2026-01-22 08:51:27 +01:00
appel_c self-assigned this 2026-01-22 08:51:30 +01:00
wakonig_k approved these changes 2026-01-22 09:27:01 +01:00
holler approved these changes 2026-01-22 15:02:42 +01:00
appel_c merged commit 153e6a89a4 into main 2026-01-26 07:45:01 +01:00
Sign in to join this conversation.
No Reviewers
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#130