From 2d9d32ffba8e4d8d6d62c9d4d0042544db5c74ad Mon Sep 17 00:00:00 2001 From: Max Marrone Date: Mon, 9 Oct 2023 15:12:31 -0400 Subject: [PATCH] Add todo comment for snakeCase robotType error message. --- api/src/opentrons/simulate.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/src/opentrons/simulate.py b/api/src/opentrons/simulate.py index b8c8d266139..47906ba850b 100644 --- a/api/src/opentrons/simulate.py +++ b/api/src/opentrons/simulate.py @@ -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)