Block loop Nreps won't stop

OS : Mac Mojave 10.14.6
PsychoPy version (e.g. 1.84.x): psychopy 3 v2021.2.3

What are you trying to achieve?:
In my experiment trials I have a noncritical trials loop running a random number of times (between 7-12), before a critical trial is presented. Then I have full block loop (comprised of the noncritical trials loop block and the critical trial) with the Nreps set at 8, however the block keeps running past 8 Nreps.

I think it might have something to do with the randomise_noncritical condition that I created for the noncritical trials loop, and I suspect the answer is simple, but for the life of me I can’t work out why the full block loop continues after 8 Nreps. I have tried adding the spreadsheet with the randomise_noncritical condition to the noncritical trials loop, instead of the full block loop, but the experiment would not run.

Any advice would be much appreciated.

Experiment is below and screenshots also attached

100 - Expectation violation and time perception with code.psyexp (40.3 KB)


well you have set the fullblockloop to repeat 8 times. Given that randomisenoctriticaltrials.xlsx has 6 condition (aka rows) you will get 48 trials (6 conditions x 8 rows). Is this what you intended?

Best wishes Jens

1 Like