Commit ac975591 authored by Jonathan Peirce's avatar Jonathan Peirce

fixes to exp code

parent 118cce6a
......@@ -17,7 +17,7 @@ psychoJS.openWindow({
// store info about the experiment session:
my.expName = 'stroop'; // from the Builder filename that created this script
my.expInfo = {'session': '01', 'participant': ''};
my.expInfo = {b'session': b'01', b'participant': b''};
// set up the experiment:
......@@ -388,7 +388,8 @@ function trialRoutineEnd() {
my.experiment.addData('my.resp.corr', my.resp.corr);
if (my.resp.keys != undefined) { // we had a response
my.experiment.addData('my.resp.rt', my.resp.rt);
}
my.routineTimer.reset();
}
// the Routine "trial" was not non-slip safe, so reset the non-slip timer
my.routineTimer.reset();
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment