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

Commit

Permalink
(#1242) Wait for all moves before finishing xrc
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicOram committed Mar 8, 2024
1 parent c266699 commit aedcbf8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hyperion/experiment_plans/flyscan_xray_centre_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@ def run_gridscan_and_move(
fgs_composite.sample_motors.stub_offsets, StubPosition.CURRENT_AS_CENTER
)

# Wait on everything before returning to GDA (particularly apertures), can be removed
# when we do not return to GDA here
yield from bps.wait()


def flyscan_xray_centre(
composite: FlyScanXRayCentreComposite,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ def run_gridscan_and_move(
fgs_composite.sample_motors.stub_offsets, StubPosition.CURRENT_AS_CENTER
)

# Wait on everything before returning to GDA (particularly apertures), can be removed
# when we do not return to GDA here
yield from bps.wait()


def panda_flyscan_xray_centre(
composite: FlyScanXRayCentreComposite,
Expand Down

0 comments on commit aedcbf8

Please sign in to comment.