Skip to content

Commit

Permalink
Add todo comment for snakeCase robotType error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Oct 9, 2023
1 parent 3fd6797 commit 2d9d32f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/src/opentrons/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ def get_protocol_api(
else:
parsed_robot_type = current_robot_type
else:
# TODO(mm, 2023-10-09): This raises a slightly wrong error message, mentioning the camelCase
# `robotType` field in Python files instead of the snake_case `robot_type` argument for this
# function.
parsed_robot_type = parse.robot_type_from_python_identifier(robot_type)
_validate_can_simulate_for_robot_type(parsed_robot_type)

Expand Down

0 comments on commit 2d9d32f

Please sign in to comment.