InlineScript runs in parallel
I have a somewhat lengthy pseudorandomization inline script for my item list that I would like to run before my experiment begins (Takes approx. 2min). However, that doesn't seem to work as planned:
1) The code execution is very slow - I can run it in the console in opensesame at normal speed, but when executed during the experiment it is suddenly very slow.
2) The randomization script executes in parallel to the rest of the experiment (canvas items, response items start running while the randomization of the list hasn't finished) and I am not sure why (independent of whether I execute the randomization during the prepare or run phase).
Is there a way that I can perform the randomization online and in sequence? I figure worst case I have to prepare my lists beforehand and read them in as csv's.
I would appreciate any help/feedback anyone could give me!
Thank you already in advance!