From abb168b24688f2c95120b337d711d09668145211 Mon Sep 17 00:00:00 2001 From: Max Marrone Date: Tue, 12 Mar 2024 10:28:48 -0400 Subject: [PATCH] wip --- api/src/opentrons/protocol_engine/protocol_engine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/opentrons/protocol_engine/protocol_engine.py b/api/src/opentrons/protocol_engine/protocol_engine.py index 3c408828337..7b2f8e76678 100644 --- a/api/src/opentrons/protocol_engine/protocol_engine.py +++ b/api/src/opentrons/protocol_engine/protocol_engine.py @@ -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) ) @@ -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(