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