优化流程

This commit is contained in:
Yorusora 2025-02-11 18:48:18 +08:00
parent f151349edb
commit a3819c1e88

View File

@ -260,8 +260,6 @@ class MainWindow(QMainWindow, Ui_MainWindow):
self.lineEdit_label2path.setText(
str(self.data_and_label_Path) + "\\" + self.comboBox_choose.currentText() + "Rpeak.txt")
MainWindow.setWindowTitle(self, QCoreApplication.translate("MainWindow",
"ECG_Label_Check - Data Path: " + str(file_path)))
info("Successfully Loaded Root Path.")
self.textBrowser_update("操作:根目录路径选择成功")
else:
@ -317,6 +315,8 @@ class MainWindow(QMainWindow, Ui_MainWindow):
def slot_btn_dataInput(self):
info("Inputing Data...")
self.textBrowser_update("提示:开始导入数据")
MainWindow.setWindowTitle(self, QCoreApplication.translate("MainWindow",
"ECG_Label_Check - Data Path: " + self.lineEdit_rootpath.text()))
# 导入数据
self.label1 = np.array([])
self.label2 = np.array([])