Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
Don't use private variable on aperture_scatterguard
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicOram committed Aug 20, 2024
1 parent dbc7599 commit dc46ba2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion src/hyperion/experiment_plans/flyscan_xray_centre_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}."
)
Expand Down

0 comments on commit dc46ba2

Please sign in to comment.