Skip to content

Commit

Permalink
Remove bad todo comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Sep 13, 2023
1 parent 3259fe2 commit 61ed31a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/opentrons/protocol_engine/protocol_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ async def finish(
# By the time E-stop error has gotten to us, it may have been wrapped in other errors,
# so we need to unwrap them to uncover the E-stop error's inner beauty.
#
# TODO(mm, 2023-09-12): Do we need to scan the exception tree like this? Instead, can we
# directly inspect the E-stop state through self._hardware_api.get_estop_state()?
# We don't use self._hardware_api.get_estop_state() because the E-stop may have been
# released by the time we get here.
if isinstance(error, EnumeratedError) and self._code_in_error_tree(
root_error=error, code=ErrorCodes.E_STOP_ACTIVATED
):
Expand Down

0 comments on commit 61ed31a

Please sign in to comment.