psychopy.org | Reference | Downloads | Github

Inconsistent format of output CSV files (delimiters)

#1

I noticed that the format of the CSV outputs is not consistent across participants, for my experiment. I refer to the CSV file that gives trial by trial data, and that has ‘experiment’ in its name at the end.

One such file ends as follows (last few lines):

2,stimuli/04C1.wav,C1,2,1,807.0700684,807.0700684,0,816.3624878,816.3624878,0,807.0512695,807.0512695,0,,2,2,0,2.14199996,2.14199996,0,9.335264206,9.335264206,0,,816.3624878,816.3624878,0,,818.5146745,,67
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
extraInfo,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
session,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
participant,2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
date,2019_May_14_1543,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
expName,hSs_syntactic,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
psychopyVersion,3.1.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
frameRate,59.97727707,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

whereas another, for another run of the experiment, ends like this, with delimiters missing on the final rows:

2,stimuli/19C4.wav,C4,1,1.0,867.259765625,867.259765625,0.0,876.001708984375,876.001708984375,0.0,867.239990234375,867.239990234375,0.0,,2.0,2.0,0.0,0.7540000081062317,0.7540000081062317,0.0,8.769868850708008,8.769868850708008,0.0,,876.001708984375,876.001708984375,0.0,,876.7691273649689,,67.0

extraInfo
session,1
participant,03
date,2019_May_15_1145
expName,hSs
psychopyVersion,3.1.0
frameRate,59.92517496624865

In both cases, the experiment ran without problems to the end, and nothing was changed in the experiment (Builder) between the two runs.

This inconsistency leads to problem further downstream when I am processing these CVS files in Matlab. Any tips as to what might be causing this?

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 3.1.0