MacOS Sierra 10.12.5 :
PsychoPy version 1.84.2:
I am trying to only read in questions from an excel file depending on the answer in another column from that file.
Specifically, I am trying to read in a question only if there is a ‘y’ in the “studyagain” column of my excel file.
I have the routine in the loop that references the conditions file. I then have text that displays $question. I have tried to add a code in that is as follows:
#begin experiment studyagain = ' ' #beginroutine if studyagain = 'y': continueRoutine= True if studyagain = 'n': continueRoutine = False
When I try this, I get a SyntaxError: invalid syntax. I’m not sure how to get the code to reference a column within my conditions file. Any suggestions?