From 2863d8b3b2e85c4a909076d7dd95cbd35134870b Mon Sep 17 00:00:00 2001 From: Dawith Date: Mon, 29 Sep 2025 01:32:54 -0400 Subject: [PATCH] Working towards automatic file list creation --- pipe/pipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipe/pipe.py b/pipe/pipe.py index 1c76f83..fb24f0a 100644 --- a/pipe/pipe.py +++ b/pipe/pipe.py @@ -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()