fix: supply config to beamline devices at instantiation
CI / lint (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped
CI / lint (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped
This commit is contained in:
+6
-4
@@ -291,7 +291,7 @@ class AareDAQ:
|
||||
self.last_time = 0.0
|
||||
self._dispatch = dispatch
|
||||
self._cfg = cfg
|
||||
self._devs = BeamlineDevices(bl, dispatch)
|
||||
self._devs = BeamlineDevices(bl, dispatch, cfg)
|
||||
self._mlbox = MlBox(bl)
|
||||
self._jfjoch = JFJochWrapper(bl)
|
||||
self._bl = bl.value.upper()
|
||||
@@ -1335,9 +1335,11 @@ class AareDAQ:
|
||||
raster_request_log_context(grid_request),
|
||||
{
|
||||
"auto_center": auto_center,
|
||||
"result_count": len(result.r)
|
||||
if hasattr(result, "r") and result.r is not None
|
||||
else None,
|
||||
"result_count": (
|
||||
len(result.r)
|
||||
if hasattr(result, "r") and result.r is not None
|
||||
else None
|
||||
),
|
||||
},
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user