From ed335dc308ba71b345779332df05d2a01ae821b7 Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Wed, 22 May 2024 11:46:02 +0200 Subject: [PATCH] fix: renamed move_and_wait --- csaxs_bec/scans/owis_grid.py | 2 +- csaxs_bec/scans/sgalil_grid.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csaxs_bec/scans/owis_grid.py b/csaxs_bec/scans/owis_grid.py index 8e7f5cf..025cae9 100644 --- a/csaxs_bec/scans/owis_grid.py +++ b/csaxs_bec/scans/owis_grid.py @@ -158,7 +158,7 @@ class OwisGrid(AsyncFlyScanBase): def pre_scan(self): """Pre scan instructions, move to start position""" - yield from self._move_and_wait([self.start_x, self.start_y]) + yield from self._move_scan_motors_and_wait([self.start_x, self.start_y]) yield from self.stubs.pre_scan() def scan_progress(self) -> int: diff --git a/csaxs_bec/scans/sgalil_grid.py b/csaxs_bec/scans/sgalil_grid.py index e9c6716..b646fdf 100644 --- a/csaxs_bec/scans/sgalil_grid.py +++ b/csaxs_bec/scans/sgalil_grid.py @@ -100,7 +100,7 @@ class SgalilGrid(AsyncFlyScanBase): yield from self.stubs.scan_report_instruction({"device_progress": ["mcs"]}) def pre_scan(self): - yield from self._move_and_wait([self.start_x, self.start_y]) + yield from self._move_scan_motors_and_wait([self.start_x, self.start_y]) yield from self.stubs.pre_scan() # TODO move to start position