From cbc559572e011d334141eba418b691e5408bec5c Mon Sep 17 00:00:00 2001 From: marques <20172333133@m.scnu.edu.cn> Date: Thu, 21 Apr 2022 11:02:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=93=E5=8A=A8=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/Quality_Relabel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/Quality_Relabel.py b/utils/Quality_Relabel.py index f82b640..a4e8e5d 100644 --- a/utils/Quality_Relabel.py +++ b/utils/Quality_Relabel.py @@ -267,7 +267,7 @@ class Quality_Relabel: def read_artifact_label(self): all_offset_length = pd.read_excel(self.Artifact_Offset_Path) offset_length = all_offset_length[all_offset_length['Êý¾Ý±àºÅ'] == self.sampNo]['from_code'] - artifact_label_path = self.Artifact_Label_Path / f"{self.sampNo}samp" / "Artifact_a.txt" + artifact_label_path = self.Artifact_Label_Path / f"Artifact_{self.sampNo}.txt" artifact_label = pd.read_csv(artifact_label_path, header=None).to_numpy().reshape(-1, 4) self.artifact_event_label = np.zeros(len(self.bcg_event_label))