You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix _run_trial_loop skipping present_stimulus when SOA < frame duration
Previously, current_trial advanced based on elapsed_time alone. If a
single frame took longer than the SOA window, the trial incremented
before present_stimulus could fire, silently skipping it.
Fix: only advance current_trial when rendering_trial has caught up,
guaranteeing every trial fires exactly once regardless of SOA length.
Also adds text_color param to show_instructions() (default black,
unchanged) and moves the instruction_text % duration substitution into
setup() where self.duration lives.
0 commit comments