ted-hou / mouse-behavior-arduino

You know what else is cool? Horses.
0 stars 0 forks source link

Raster gets fucked up if we abort trials manually #13

Closed ted-hou closed 8 years ago

ted-hou commented 8 years ago

There are extra trial_init events logged into EventMarkers, but they are not counted toward TrialsCompleted.

When user hits "Start", we'll start putting incoming eventmarkers into a buffer. Store buffer onTrialComplete, clear buffer if user hits "Stop".

ted-hou commented 8 years ago

Solved. Saving eventmarkers to buffer first. Buffer is cleared if we stop before trial end.