Skip to content

Commit

Permalink
Removed mistake where Path was still defined here, instead of in main
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomahawkuru committed Jul 15, 2021
1 parent fc7f16e commit 3920296
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=',')
Expand Down

0 comments on commit 3920296

Please sign in to comment.