The study I’m trying to create has 2 sessions to it. In my program it has 3 back to back loops. One of my variable in my experimental settings is “Session”. I want to program it so that when the user types in the number 2 in the “Session” box in the beginning of the experiment, the program will directly jump to and start from the 3rd loop. I’ve tried adding a code component to the beginning of each loop and have this code listed below it. But it doesn’t seem to work. Does anyone know a better idea on how to solve this problem?
if ($expInfo['Session] == 2): trials.finished = True
if ($expInfo['Session] == 2): trials_1.finished = True