修改体动路径格式
This commit is contained in:
parent
446ab9810e
commit
cbc559572e
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user