Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Mar 12, 2024
1 parent 97285cb commit abb168b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/opentrons/protocol_engine/protocol_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def estop(self, maintenance_run: bool) -> None:
if self._state_store.commands.get_is_stopped():
return
current_id = (
# todo
self._state_store.commands.state.running_command_id
or self._state_store.commands.state.queued_command_ids.head(None)
)
Expand All @@ -256,6 +257,7 @@ def estop(self, maintenance_run: bool) -> None:

# In the case where the running command was a setup command - check if there
# are any pending *run* commands and, if so, clear them all
# todo
current_id = self._state_store.commands.state.queued_command_ids.head(None)
if current_id is not None:
fail_action = FailCommandAction(
Expand Down

0 comments on commit abb168b

Please sign in to comment.