Skip to content

Commit

Permalink
Working towards automatic file list creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawith committed Sep 29, 2025
1 parent 12cfff6 commit 2863d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipe/pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def spectrogram_pipe_matfiles(self, specpath: Path, labels:list,
spectrograms = []
row = {}
for label in labels:
matdata = sp.io.loadmat(specpath/label)
matdata = sp.io.loadmat(specpath/"matfiles"/label)
row["treatment"] = matdata["header"][0][0][4][0].lower()
try:
row["target"] = matdata["header"][0][0][2][0].lower()
Expand Down

0 comments on commit 2863d8b

Please sign in to comment.