Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read aperture properly rather than private method #506

Merged
merged 8 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies = [
"ophyd == 1.9.0",
"ophyd-async >= 0.3a5",
"bluesky >= 1.13.0a4",
"dls-dodal @ git+https://github.com/DiamondLightSource/dodal.git@040a72885deaca1055a930f09eccef4acca812f5",
"dls-dodal @ git+https://github.com/DiamondLightSource/dodal.git@69df71c072408e2b1aa372bfd351df5cd4978620",
]


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,9 @@ async def test_rotation_plan_moves_aperture_correctly(
aperture_scatterguard: ApertureScatterguard = (
run_full_rotation_plan.aperture_scatterguard
)
assert (
await aperture_scatterguard.get_current_aperture_position()
== ApertureValue.SMALL
)
reading = await aperture_scatterguard.read()
aperture_state = reading[aperture_scatterguard.selected_aperture.name]["value"]
assert aperture_state == ApertureValue.SMALL


async def test_rotation_plan_smargon_doesnt_move_xyz_if_not_given_in_params(
Expand Down
Loading