OS : Windows 10
PsychoPy version: 3.1.5
Standard Standalone? (y/n) :
What are you trying to achieve?:
I have a CSV file with 14 letters to be presented in trials of different sizes from 2-10. It’s currently set on random, not fullrandom, so there are no repeats. However, if trials are presented in a particular order for example a 6 letter trial, then a 4 letter trial, then a 6 letter trial it runs out of letters in the 3rd trial and then risks repeating letters within the 3rd list. So I need it to reset randomization between each trial. Right now I have an ITI that is only presented right before the next trial, so if I can get a piece of code at the beginning of that routine that resets the randomization of the letters it should work great!
Code from codeITI object
# only present intertrial interval immediately before the # beginning of the next trial: if choicetrials.thisN != show_prompt_trial - 1: continueRoutine = False