I have an experiment created in builder that needs to sequentially cycle through 120 trials with every 10 trials showing a response routine and sometimes as well a break routine. I have a conditions file that has the word, number of reps for the response routine and number of reps for the break routine.
In the response and break routine I have this code:
if responseReps == 1:
continueRoutine = True # Continue with the routine as normal
else:
continueRoutine = False # Skip the routine
Where reponseReps is a variable in my conditions file.
So participants see fixation cross, word, fixation cross, word etc., until there is a 1 and then they see that routine.
This works well locally but online the experiment gets stuck either after the first word or the second fixation cross.
Any help would be appreciated because I cannot see what is causing the problem and it should be quite simple.
I just updated it to use the flow rather than code and while it works locally online it stops at the start of the second trial after the fixation cross.
Is the previous routine failing to end? How is supposed to end? If it’s supposed to end when all of the components end, then are there any conditional components which don’t start?
There is no code but I have been exploring and it is not a blank screen - the “response” routine lasts for 30 seconds and instead of being skipped the elements in the routine are skipped but the routine itself still runs for 30 seconds.