I’m using several templates in my script and it makes me add an extra ) to separate them, otherwise I can’t run the experiment. But if a add them then it doesn’t log the info I declare at the end of the trials onto the results sheet.
The closing parenthesis at line 406 matches the open parenthesis of failure( at line 404, but you use it as if it were closing the open parenthesis of newTrial( from line 378. As a result, all the .logs that you attach to that closing parenthesis refer to the Key element on which you called failure, so you won’t get any extra column (but you should get a line for a keypress, for sure)
The same problem is repeated in the two other Template commands
Tip: the editor on the PCIbex Farm will highlight the matching parentheses when you place the caret just before or after, or if you select, the parenthesis