Hi I’m a total beginner with psychopy, would be extremely thankful for all help.
OS: Windows 10 home
PsychoPy version: 3
Standard Standalone? Yes
What are you trying to achieve?: I want to assign subjects to 4 different conditions. The participants each have a number and a version (1-6). Unfortunately version number is a character between 1 and 6 (can’t change this it was decided by the professor). And I want to assign all participant to 4 different conditions. I have tried by adding a code and under #begin routine placed the following code:
if int(expInfo[“version”]) > 3:
continueRoutine = True
int(expInfo[“participant”]) % 2 == 0
Which I hoped would allow participants with that has a version number greater than 3 and a participant number that is even (or uneven? can’t figure out which), of course I have four different versions of the code placed on to the different conditions (routines), but I can’t run the experiment. It just shuts down with no error message.
I hope someone can give me a clue to how to solve this problem!