The app.js file calls the run entry point function only with jatos.studyJsonInput. It would be great if JATOS would also pass query parameters to the run function.
E.g.
...
jatos.onLoad(async () => {
// Get query params
const queryParams = jatos.urlQueryParameters
// Run the jsPsych Experiment
const jsPsych = await run({
environment: "jatos",
input: jatos.studyJsonInput,
queryParams: queryParams,
...options,
});
if (jsPsych) {
jatos.submitResultData(jsPsych.data.get().json(), jatos.startNextComponent);
}
});
...
PS: I could make a PR for this change, but don't yet have permissions.
The
app.jsfile calls therunentry point function only withjatos.studyJsonInput. It would be great if JATOS would also pass query parameters to therunfunction.E.g.
PS: I could make a PR for this change, but don't yet have permissions.