fix(flomni,omny): expose motor tolerance to scan-server device proxy #296

Merged
holler merged 1 commits from fix/flomni-osamroy-tolerance-user-access into main 2026-08-17 12:06:55 +02:00
Member

self.dev.fsamroy/.osamroy on the scan server is a generic bec_lib
Positioner proxy rebuilt from serialized device info, not the real
ophyd instance. tolerance was only a plain init attribute, so it
was dropped during serialization and flomni_rotation()/rotation()
crashed with AttributeError: 'Positioner' object has no attribute
'tolerance'. Register tolerance in USER_ACCESS so it serializes and
is reachable via RPC like controller already is.

self.dev.fsamroy/.osamroy on the scan server is a generic bec_lib Positioner proxy rebuilt from serialized device info, not the real ophyd instance. tolerance was only a plain __init__ attribute, so it was dropped during serialization and flomni_rotation()/rotation() crashed with AttributeError: 'Positioner' object has no attribute 'tolerance'. Register tolerance in USER_ACCESS so it serializes and is reachable via RPC like controller already is.
holler added 1 commit 2026-08-17 12:04:58 +02:00
fix(flomni,omny): expose motor tolerance to scan-server device proxy
CI for csaxs_bec / test (pull_request) Successful in 1m54s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 1m56s
75cd5d0d00
self.dev.fsamroy/.osamroy on the scan server is a generic bec_lib
Positioner proxy rebuilt from serialized device info, not the real
ophyd instance. tolerance was only a plain __init__ attribute, so it
was dropped during serialization and flomni_rotation()/rotation()
crashed with AttributeError: 'Positioner' object has no attribute
'tolerance'. Register tolerance in USER_ACCESS so it serializes and
is reachable via RPC like controller already is.
holler scheduled this pull request to auto merge when all checks succeed 2026-08-17 12:05:05 +02:00
holler merged commit 75cd5d0d00 into main 2026-08-17 12:06:55 +02:00
holler deleted branch fix/flomni-osamroy-tolerance-user-access 2026-08-17 12:06:55 +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#296