From 8b9a16586a5f36a6d8629a870b040ac32010b46e Mon Sep 17 00:00:00 2001 From: jbleon95 Date: Mon, 15 Apr 2024 16:05:37 -0400 Subject: [PATCH] missing single quotes for a printed type --- api/src/opentrons/protocols/parameters/validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/opentrons/protocols/parameters/validation.py b/api/src/opentrons/protocols/parameters/validation.py index adde67b0481..2db343c71b6 100644 --- a/api/src/opentrons/protocols/parameters/validation.py +++ b/api/src/opentrons/protocols/parameters/validation.py @@ -216,7 +216,7 @@ def _validate_min_and_max( ) if not isinstance(maximum, parameter_type): raise ParameterDefinitionError( - f"Maximum is type {type(maximum).__name__}," + f"Maximum is type '{type(maximum).__name__}'," f" but must be of parameter type '{parameter_type.__name__}'" ) # These asserts are for the type checker and should never actually be asserted false