From 5c80a72ac4e84b52dea79b6103bade81c15dbd2d Mon Sep 17 00:00:00 2001 From: Andiiiiiiyy Date: Mon, 5 Aug 2024 17:05:42 +0800 Subject: [PATCH] fix csv issue --- .../production_qc/gripper_assembly_qc_ot3/test_mount.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware-testing/hardware_testing/production_qc/gripper_assembly_qc_ot3/test_mount.py b/hardware-testing/hardware_testing/production_qc/gripper_assembly_qc_ot3/test_mount.py index 879b7915af7..ddc15bcb096 100644 --- a/hardware-testing/hardware_testing/production_qc/gripper_assembly_qc_ot3/test_mount.py +++ b/hardware-testing/hardware_testing/production_qc/gripper_assembly_qc_ot3/test_mount.py @@ -28,7 +28,7 @@ MIN_PASS_CURRENT = 0.4 CURRENTS_SPEEDS: Dict[float, List[float]] = { # round(MIN_PASS_CURRENT - 0.2, 1): SPEEDS_TO_TEST, - round(MIN_PASS_CURRENT - 1 , 1): SPEEDS_TO_TEST, + round(MIN_PASS_CURRENT - 0.1 , 1): SPEEDS_TO_TEST, MIN_PASS_CURRENT: SPEEDS_TO_TEST, DEFAULT_CURRENT: SPEEDS_TO_TEST, } @@ -50,7 +50,7 @@ def build_csv_lines() -> List[Union[CSVLine, CSVLineRepeating]]: for dir in ["down", "up"]: for step in ["start", "end"]: tag = _get_test_tag(current, speed, dir, step) - if current <= MIN_PASS_CURRENT: + if current < MIN_PASS_CURRENT: lines.append(CSVLine(tag, [float, float])) else: lines.append(CSVLine(tag, [float, float, CSVResult]))