From 3920296ce40c817820219c9d1e43d3c188829596 Mon Sep 17 00:00:00 2001 From: Thomas de boer Date: Thu, 15 Jul 2021 17:21:15 +0200 Subject: [PATCH] Removed mistake where Path was still defined here, instead of in main --- readers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/readers.py b/readers.py index 7641d24..d142572 100644 --- a/readers.py +++ b/readers.py @@ -7,7 +7,6 @@ def file_reader(path, participant, trial, filename): # read data file - path = path + str(participant) + "/" + str(trial) + "/" file = [i for i in os.listdir(path) if os.path.isfile(os.path.join(path, i)) and \ filename in i] csvdata = pandas.read_csv(path + file[0], delimiter=',')