Skip to content

Commit

Permalink
fix csv issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Andiiiiiiyy committed Aug 5, 2024
1 parent bee52c6 commit 5c80a72
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand All @@ -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]))
Expand Down

0 comments on commit 5c80a72

Please sign in to comment.