Browse Source

Dateien hochladen nach „code“

master
Jonathan Frei 9 months ago
parent
commit
343a52f170
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      code/main.py

+ 5
- 1
code/main.py 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")


Loading…
Cancel
Save