Keypresses not properly registered in the experiment (appearing within the .log-file not the .csv)

Hello @lara_k

I haven’t looked at all your routines. However, I noticed that you have added a win.flip() command to some code components, for example SaveTrialInfo_Base in the ‘Each Frame’ tab. This is not advised, as the builder will execute this command anyway.

Try saving information during non-critical phases of your experiment, for example at the end of the routine rather than after each frame.

You can also tell PsychoPy to save the onset and offset of routines and components. It is rarely necessary to do this by code. The code component end_fixation in the fixation routine does nothing. You already end the routine with a keypress, as you selected ‘Force end of routine’ for the keyboard component.

baseline_trial and cond_trial appear to perform the same function. Reuse a routine instead of rewriting it. This simplifies debugging and maintenance (see Wakefield's Daily Tips - #7 by wakecarter).

Also delete routines that you are using, e.g. ready_base.

I get the impression that you have mixed Builder routines and components with your own code. Only use code components if the Builder components do not offer the same option.

Best wishes Jens