diff --git a/setup.cfg b/setup.cfg index 0daa275f7..be92f3c99 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,7 +41,7 @@ install_requires = ophyd-async >= 0.3a5 bluesky >= 1.13.0a4 blueapi >= 0.4.3-rc1 - dls-dodal @ git+https://github.com/DiamondLightSource/dodal.git@d7e827bc600a1c5f0156d46297fea42a4425f118 + dls-dodal @ git+https://github.com/DiamondLightSource/dodal.git@0ac5497b05ba52fb6531cc8de29dd2b0631fd11c [options.entry_points] console_scripts = diff --git a/src/hyperion/experiment_plans/flyscan_xray_centre_plan.py b/src/hyperion/experiment_plans/flyscan_xray_centre_plan.py index 68cac9577..92c071471 100755 --- a/src/hyperion/experiment_plans/flyscan_xray_centre_plan.py +++ b/src/hyperion/experiment_plans/flyscan_xray_centre_plan.py @@ -370,7 +370,7 @@ def set_aperture_for_bbox_size( new_selected_aperture = ( AperturePosition.MEDIUM if bbox_size[0] < 2 else AperturePosition.LARGE ) - gda_name = aperture_device._loaded_positions[new_selected_aperture].GDA_name + gda_name = aperture_device.get_gda_name_for_position(new_selected_aperture) LOGGER.info( f"Setting aperture to {new_selected_aperture} based on bounding box size {bbox_size}." )