| Reference | Downloads | Github

Counterbalancing between conditions not working anymore


I previously used the following code to counterbalance conditions between participants:

In my loop properties I added this:

It used to work in my previous experiments. However, for some reason now this code is not working anymore and I am constantly getting an error when I try to push the experiment on Pavlovia:

NameError: name ‘cond2’ is not defined

Do you have any ideas? It his a bug or am I doing something wrong? I’ve been stuck with these for several days already.

What version of PsychoPy are you using?

1 Like

Thank you, its PsychoPy 2021.1.2

I used a different PsyhoPy version in Exp settings (2021.2.2) and it worked with no error as before. So it was the PsychoPy version issue. Thank you very much!

1 Like