Skip to content

Commit

Permalink
placate mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
dperl-dls committed Aug 22, 2024
1 parent 613c978 commit f019576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ def run_gridscan_and_move(
# once we have the results, go to the appropriate position
LOGGER.info("Moving to centre of mass.")
with TRACER.start_span("move_to_result"):
yield from move_x_y_z(fgs_composite.sample_motors, *xray_centre, wait=True)
x, y, z = xray_centre
yield from move_x_y_z(fgs_composite.sample_motors, x, y, z, wait=True)

if parameters.FGS_params.set_stub_offsets:
LOGGER.info("Recentring smargon co-ordinate system to this point.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def __init__(
super().__init__(emit=emit)
self.last_sample_id: int | None = None
self.ispyb_ids: IspybIds = IspybIds()
self.params: RotationScan

def activity_gated_start(self, doc: RunStart):
if doc.get("subplan_name") == CONST.PLAN.ROTATION_OUTER:
Expand Down

0 comments on commit f019576

Please sign in to comment.