fix: renamed move_and_wait

This commit is contained in:
2024-05-22 11:46:02 +02:00
parent 78d2dd2436
commit ed335dc308
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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