Dateien hochladen nach „code“
This commit is contained in:
parent
0a0b013f84
commit
343a52f170
@ -29,6 +29,7 @@ code_version= "1.0"
|
|||||||
current_dir = os.getcwd()
|
current_dir = os.getcwd()
|
||||||
testcase_excel_file_path = os.path.join(current_dir, 'code/testing/excel/Testcase_excel_dataset.xlsx')
|
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')
|
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):
|
class VideoProcessingApp(tk.Tk):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -62,6 +63,9 @@ class VideoProcessingApp(tk.Tk):
|
|||||||
def open_testrun_excel_file(self):
|
def open_testrun_excel_file(self):
|
||||||
os.startfile(testruns_excel_file_path)
|
os.startfile(testruns_excel_file_path)
|
||||||
|
|
||||||
|
def open_evaluation_excel_file(self):
|
||||||
|
os.startfile(evaluation_excel_file_path)
|
||||||
|
|
||||||
def test_data_set(self):
|
def test_data_set(self):
|
||||||
kommentar = self.testrun_kommentar_entry.get("1.0", "end-1c")
|
kommentar = self.testrun_kommentar_entry.get("1.0", "end-1c")
|
||||||
process_all_videos_and_save_results(testcase_excel_file_path,testruns_excel_file_path,code_version,kommentar)
|
process_all_videos_and_save_results(testcase_excel_file_path,testruns_excel_file_path,code_version,kommentar)
|
||||||
@ -544,7 +548,7 @@ class VideoProcessingApp(tk.Tk):
|
|||||||
self.open_testrun_button.place(x=10, y=215)
|
self.open_testrun_button.place(x=10, y=215)
|
||||||
self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF")
|
self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF")
|
||||||
# Button open sorted excel
|
# 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.place(x=10, y=250)
|
||||||
self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF")
|
self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user