pylabrobot.opentrons.OT2.stop_run#
- async OT2.stop_run(run_id: str, timeout: float | None = None) RunInfo#
Stop a run the robot holds and wait until the robot reports it finished.
For a run this object did not create, such as the one
get_unfinished_runreturns. A run already finished is left as it is. This object’s own run is stopped bystop().- Parameters:
- Returns:
The run as last read.
- Raises:
ValueError – If
timeoutis not finite and greater than zero.RuntimeError – If
run_idis this object’s own run.OpentronsError – If the robot does not take the stop request.
TimeoutError – If the run has not finished within
timeout.
- Return type:
RunInfo