In a loop I want a single repetition of a row from my condition file. Apparently, it is impossible to do in the online experiment. Instead of the value of a required variable in the condition file, only one letter (it is actually always a letter num 3) of that value is read and it obviously gives an error because this value should be a color:
origin: "Color", context: "when defining a color", error: "unknown named color: d"
This is how my variable with a needed row is generated:
prime_num = c_items[Math.floor(Math.random() * c_items.length)]
When I use two or more values in the array that I put into “Selected” field of the loop (prime_num), everything works – two lines are loaded and respective stimuli are presented. My temporary solution is to double the needed value and shorten the stimulus presentation time. But this is obviously a weird thing.
I’m on mac OS 10.15.3, PsychoPy version 2020.1.3 (the same problem occurred on 3.0.5).