I just had a look at your psyexp file
Does
print('repeatRows',repeatRows)
give the list you are expecting?
You appear to be starting with repeating row 1 (index 0)
repeatRows = [0]
I think you want
repeatRows = [ ]
I can’t see a loop to repeat any trials. You could put a new loop around a new set of your routines with repeatRows as the selected rows.