From 1490549284125c8e46ec709c632e114257174ec0 Mon Sep 17 00:00:00 2001 From: Wojciech Jarmosz Date: Sat, 15 May 2021 01:42:32 +0200 Subject: [PATCH] Fix chart generation --- create_chart.py | 1 + save_metrics.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/create_chart.py b/create_chart.py index 6e9bfa3..a550f61 100644 --- a/create_chart.py +++ b/create_chart.py @@ -10,6 +10,7 @@ y = [] if os.path.exists('bulk_metrics.txt'): with open('bulk_metrics.txt') as file: for line in file.readlines(): + print(line.split(" ")) single_x, single_y = line.split(" ") x.append(single_x) y.append(single_y) diff --git a/save_metrics.py b/save_metrics.py index 07bc713..cc415a3 100644 --- a/save_metrics.py +++ b/save_metrics.py @@ -14,4 +14,4 @@ if os.path.exists("rmse.txt"): result = line with open("bulk_metrics.txt", "a") as file: - file.write(build_no + " " + result + "\n") + file.write(build_no + " " + result)