I am having problems in skipping a routine and getting to the end of the experiment. I am using version 1.85.3.
This the structure of my experiment:
- Instructions 1 - with images
- Test 1
- Instructions 2 - again with the same images as Instructions 1
- Test 2
- End of experiment
If you don´t pass Test 1, the experiment should skip immediately to End of experiment.
This is working, but only roughly. If a participant fails Test 1 then the experiment goes to End. However, when I open the .csv file with the results, I can see in there that one instance of Instruction 2 has been executed (or loaded) and also one instance of Test 2. The file is to give you an idea:
_Mental_Tr_2019_Dec_03_1357.csv (8.7 KB)
The second “same/Slide_A_1.jpg” and the trial after that, in the .csv file, should not be there. What can be causing this?
Focusing only on Instructions 2, this is how the loop looks like:
pre_instructions_b there is the following code
if not_eligible1 == 1: #if the participant is not eligible for Test 2 a value of 1 is assigned to the participant repeat_training_loop_b.finished = True continueRoutine = False
This is the code in
instructions_b where the image of the instruction is loaded and shown:
if not_eligible1 == 1: #same as above trials_b.finished = True repeat_training_sub.finished = True continueRoutine = False
Do you have any suggestion?