Skip to content

Commit

Permalink
fix(shared-data): Fix whitespace in UnmatchedTipPresenceStates message (
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring authored Feb 29, 2024
1 parent d887d03 commit 4c75aaf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions shared-data/python/opentrons_shared_data/errors/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,9 @@ def __init__(
"""Build an UnmatchedTipPresenceStatesError."""
format_tip_state = {0: "not detected", 1: "detected"}
msg = (
"Received two differing tip presence statuses:"
"\nRear Sensor tips"
+ format_tip_state[states[0]]
+ "\nFront Sensor tips"
+ format_tip_state[states[1]]
f"Received two differing tip presence statuses."
f" Rear Sensor tips: {format_tip_state[states[0]]}."
f" Front Sensor tips: {format_tip_state[states[1]]}."
)
if detail:
msg += str(detail)
Expand Down

0 comments on commit 4c75aaf

Please sign in to comment.