diff --git a/scos_actions/calibration/utils.py b/scos_actions/calibration/utils.py index 8aca940f..e8275dcf 100644 --- a/scos_actions/calibration/utils.py +++ b/scos_actions/calibration/utils.py @@ -72,6 +72,7 @@ def filter_by_parameter(calibrations: dict, value: Union[float, int, bool]) -> d f"Could not locate calibration data at {value}" + f"\nAttempted lookup using key '{str(value).lower()}'" + f"{f' and {float(value)}' if isinstance(value, float) and value.is_integer() else ''}" + + f"{f' and {int(value)}' if isinstance(value, float) and value.is_integer() else ''}" + f"\nUsing calibration data: {calibrations}" ) raise CalibrationEntryMissingException(msg)