Conditions file parameters missing from data files using Pavlovia

Hi dey.a,

This is a recent issue that the Psychopy/psychoJS developers are working on resolving. There is a hack solution to record your condition file parameters that I reference here.

Until the problem is resolved, you need to put in code manually at the end of the routine within the trial loop to record those trial parameters. You can use a code component for this in the Builder interface or put it into your javascript file after it’s been created. If your TrialHandler object is called trials and you want to record the displayed stimulus via its parameter stim_id, then you would put this code at the end of the routine:

psychoJS.experiment.addData("stim_id", trials.trialList[trials.thisIndex]["stim_id"]);