Building in breaks after N trials for the experiment trial loop

I followed [Rebecca Hirst / simpleTrialBreaks · GitLab] by copying the exact code to build breaks in my experiment trial loop, but the breaks didn’t work and the experiment continued.

Is that because I have two other trial loops for the practice session before my experiment trial loop, as shown in the picture below, and one of the practice loop name is “trials”. Does this interfere?

My pychopy version is v2021.2.3 on a PC. The psyexp file is attached.

Thank you for any help,


conditions1.psyexp (208.4 KB)