| Reference | Downloads | Github

Outer loop not being referenced correctly

OS OS X Yosemite 10.10.5
PsychoPy version 1.85.3

I created a Stroop task with affective ratings and all of a sudden the outer loop is not being referenced correctly. I have had no problems with the experiment running correctly until now. The experiment is designed to have two practice rounds with affective ratings followed by blocks that alternate between neutral (X) trials and word trials. Both of those are set to repeat trials 6x while the outer loop is set to repeat this 10x. I can’t figure out why the experiment is continuing to repeat after 10x - I tried changing the outer loop to repeat 2x and it still continued past this setting. I’d appreciate insight into this.
Thank you.

blocks_file.xlsx (30.0 KB)
neutralconditions.xlsx (30.9 KB)
wordconditions.xlsx (30.4 KB)
jan15_edit.psyexp (39.7 KB)

It really didn’t. It will repeat exactly as many times as you tell it to.

Remember that when using a conditions file, the nReps field does not represent the number of iterations of the loop. Rather, it represents how many times the conditions file will be repeated. The number of iterations is therefore nReps × the number of rows in your conditions file.

I see what you’re saying. Thank you for your clarification