Skip to content

Commit

Permalink
fixed bug, need to add test
Browse files Browse the repository at this point in the history
  • Loading branch information
TamarZanzouri committed May 1, 2024
1 parent aa4a835 commit 46c4ef7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/src/opentrons/protocol_engine/state/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,9 @@ def handle_action(self, action: Action) -> None: # noqa: C901

elif isinstance(action, StopAction):
if not self._state.run_result:
if self._state.queue_status == QueueStatus.AWAITING_RECOVERY:
self._state.recovery_target_command_id = None

self._state.queue_status = QueueStatus.PAUSED
if action.from_estop:
self._state.stopped_by_estop = True
Expand Down

0 comments on commit 46c4ef7

Please sign in to comment.