diff --git a/python/lsst/ts/standardscripts/maintel/mtrotator/move_rotator.py b/python/lsst/ts/standardscripts/maintel/mtrotator/move_rotator.py index 5c1ebcb0a..0c10b4adc 100644 --- a/python/lsst/ts/standardscripts/maintel/mtrotator/move_rotator.py +++ b/python/lsst/ts/standardscripts/maintel/mtrotator/move_rotator.py @@ -46,7 +46,7 @@ class MoveRotator(BaseBlockScript): """ - def __init__(self, index: int, add_remotes: bool = True) -> None: + def __init__(self, index: int) -> None: super().__init__(index=index, descr="Move Rotator") self.mtcs = None @@ -136,7 +136,6 @@ async def run_block(self): await self.mtcs.move_rotator( angle=self.target_angle, wait_for_complete=self.wait_for_complete ) - if self.wait_for_complete: - await self.checkpoint(f"Rotator reached {self.target_angle} degrees.") - else: - await self.checkpoint("Stop script and keep rotator moving.") + await self.checkpoint( + f"Move rotator returned. Wait for complete: {self.wait_for_complete}." + )