Dateien hochladen nach „code“

This commit is contained in:
Jonathan Frei 2024-01-13 14:09:51 +00:00
parent 0a0b013f84
commit 343a52f170

View File

@ -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")