Hello,
I have two routines in a loop. The first routine is the experiment, and the second is essentially a feedback routine, triggered conditionally.
In routine 1 I track if the answer is correct and the colour, using red_inc and green_inc.
In routine 2 I have this in begin routine
‘’’
if red_inc == 0:
continueRoutine = False
elif green_inc == 0:
continueRoutine = False
else:
continueRoutine = True
‘’’
I then have 2 components within the routine. One is text and the other is image. I have it set that start is set to condition, with if green_inc == 1 for the image and if red_inc == 1 for the text.
The problem I am having is that nothing seems to trigger the routine, and then nothing triggers the components.
I have used print statements and the green/red_inc are increased changed to 1 on an incorrect answer, it just doesn’t then move onto the next routine or show the components.
I get no error, the experiment just runs as though the code doesn’t exist