Saving responses

Hi

My experiment does not make any calls to thisExp.addData and yet some weird data is reported in the .csv file. Most of them come from ‘Insert trial’ loops that doesn’t have a ‘turn off’ button for recording.

However, a call in one of my routines does not show up in the .csv file. If i print out the same thing using logging.error, i can see it in the log file. This means that thisExp.addData isn’t working in the routine. This is how i am trying to write to the .csv from within the routine.
thisExp.addData(‘myvariable’, value)

Is there a way to define one’s own custom text or csv file and a way i can ensure that the .addData only writes my custom writes into it and nothing else?

thanks

OS (e.g. Win10): mac sierra
PsychoPy version (e.g. 1.84.x): 2020.2.3
Standard Standalone? (y/n) If not then what?: scratch build