Reply To: Question about assigning conditions, groups + randomization

PennController for IBEX Forums Support Question about assigning conditions, groups + randomization Reply To: Question about assigning conditions, groups + randomization

#10752
Jeremy
Keymaster

Hi Kate,

This is the error message you get from the debugger: “Unrecognized expression ‘myCustomTrialFunction’ (line inside PennController.Template)”

If you look at your code just above the definition of myCustomTrialFunction, you’ll notice a lone chunk of code:

newText([t.context_adj,t.target_adj,t2[0],t2[1]].join("<br>")).print()
        .settings.css("font-size", "25px")
        .center()
        .print()
        .log()

This prevents the code that comes after it from being interpreted properly. Just delete that extra chunk of code and your experiment will run again

Jeremy