Participant ID not saving in data file name

Seems like a quick manual fix on js files would solve the issue:

// add info from the URL first:
util.addInfoFromUrl(expInfo);

// then add filename to psychojs experiment
psychoJS.experiment.dataFileName = ((“.” + “/”) + data/${expInfo["participant"]}_${expName}_${expInfo["date"]});

I confirm that file saves well with URL params this way. I tested with recent psychopy version 2022.1.2

2 Likes