ium_434704/save_metrics.py

18 lines
334 B
Python
Raw Permalink Normal View History

2021-05-14 22:26:47 +02:00
import os.path
import sys
import os.path
arguments = sys.argv[1:]
build_no = arguments[0]
result = ""
if os.path.exists("rmse.txt"):
with open("rmse.txt", "r") as file:
for line in file.readlines():
result = line
2021-05-15 02:50:40 +02:00
with open("bulk_metrics.txt", "a") as file:
2021-05-15 01:42:32 +02:00
file.write(build_no + " " + result)