Description of the problem: I am looking for a way to use the output of an Experiment Info within a csv file for conditions in a trial loop. My expInfo is “Gruppe” (group) that can have values from 1 to 8.
What I tried so far: I generated a total of 8 csv files that include different videos according to the group. The names of the csv files simply are:
In the conditions line within the loop it says: ‘group’ + str(expInfo[‘Gruppe’]) + ‘.csv’
However, I always get an error that the conditions file cannot be found but I don’t know whats the matter… I first tried it without the str(), but it didn’t work either. I just thought it makes more sense this way, since my groups are defined as numbers from 1 to 8.
Thanks in advance for your help!