From 1902749fa563906ee0fd4bc31c663e4e60d5ebf9 Mon Sep 17 00:00:00 2001 From: David Perl Date: Tue, 25 Aug 2026 11:55:19 +0200 Subject: [PATCH] fix: simulated bec macros --- src/aare/beamline_dispatch/simulated/beamline_dispatch.py | 2 ++ src/aare/beamline_dispatch/x10sa/beamline_dispatch.py | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/aare/beamline_dispatch/simulated/beamline_dispatch.py b/src/aare/beamline_dispatch/simulated/beamline_dispatch.py index 59fcbd14..7f892533 100644 --- a/src/aare/beamline_dispatch/simulated/beamline_dispatch.py +++ b/src/aare/beamline_dispatch/simulated/beamline_dispatch.py @@ -26,6 +26,8 @@ class SimulatedBecMacros(BecMacros): def get_current_energy(): ... @staticmethod def mono_pitch_scan(plot=True): ... + @staticmethod + def auto_exposure(): ... class SimulatedDispatch(DefaultDispatch): diff --git a/src/aare/beamline_dispatch/x10sa/beamline_dispatch.py b/src/aare/beamline_dispatch/x10sa/beamline_dispatch.py index ae0c08ed..96b66114 100644 --- a/src/aare/beamline_dispatch/x10sa/beamline_dispatch.py +++ b/src/aare/beamline_dispatch/x10sa/beamline_dispatch.py @@ -12,11 +12,11 @@ class X10SaBecMacros(BecMacros): save_and_reload, save_current_position, ) - from pxii_bec.macros.init_beamline import ( - init_beamline_environment, # pyright: ignore[reportMissingImports, reportMissingModuleSource] + from pxii_bec.macros.init_beamline import ( # pyright: ignore[reportMissingImports, reportMissingModuleSource] + init_beamline_environment, ) - from pxii_bec.macros.katscripts import ( - auto_exposure, # pyright: ignore[reportMissingImports, reportMissingModuleSource] + from pxii_bec.macros.katscripts import ( # pyright: ignore[reportMissingImports, reportMissingModuleSource] + auto_exposure, ) from pxii_bec.macros.pxii_energy import ( # pyright: ignore[reportMissingImports, reportMissingModuleSource] bl_energy,