From 343a52f170bff18315828de212fe56c5a494beb2 Mon Sep 17 00:00:00 2001 From: Jonathan Frei Date: Sat, 13 Jan 2024 14:09:51 +0000 Subject: [PATCH] =?UTF-8?q?Dateien=20hochladen=20nach=20=E2=80=9Ecode?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/main.py b/code/main.py index fcccbc2..281990c 100644 --- a/code/main.py +++ b/code/main.py @@ -29,6 +29,7 @@ code_version= "1.0" current_dir = os.getcwd() testcase_excel_file_path = os.path.join(current_dir, 'code/testing/excel/Testcase_excel_dataset.xlsx') testruns_excel_file_path = os.path.join(current_dir, 'code/testing/excel/Testruns.xlsx') +evaluation_excel_file_path = os.path.join(current_dir, 'Testcases_nach_Genauigkeit.xlsx') class VideoProcessingApp(tk.Tk): def __init__(self): @@ -61,6 +62,9 @@ class VideoProcessingApp(tk.Tk): def open_testrun_excel_file(self): os.startfile(testruns_excel_file_path) + + def open_evaluation_excel_file(self): + os.startfile(evaluation_excel_file_path) def test_data_set(self): kommentar = self.testrun_kommentar_entry.get("1.0", "end-1c") @@ -544,7 +548,7 @@ class VideoProcessingApp(tk.Tk): self.open_testrun_button.place(x=10, y=215) self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF") # Button open sorted excel - self.open_testrun_button = tk.Button(self.testing_frame, text="Open Evaluation Excel", command=self.open_testrun_excel_file) + self.open_testrun_button = tk.Button(self.testing_frame, text="Open Evaluation Excel", command=self.open_evaluation_excel_file) self.open_testrun_button.place(x=10, y=250) self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF")