OS: macOS 10.5
PsychoPy version: 3.2.0
Standard Standalone? (y/n) : Yes
What are you trying to achieve?: I have a variable level
which is equal to 0 or 1. One of my routines should only be displayed if level = 1
.
What did you try to make it work?: In a the Begin Routine tab of a code component in this routine, I put
if level == 0:
continueRoutine = False
What specifically went wrong when you tried that?: Before updating to the latest version, this worked fine and the routine was only displayed in trials where the level was equal to 1. Now the routine is displayed in every trial, irrespective of the variable level
.