Skip to content
Discussion options

You must be logged in to vote

Hi @jaydavies16129, you're right that the plugin doesn't save the prompt by default. So one way to change this is to modify the plugin file. You're right that this is the relevant bit of plugin code:

const trial_data = {
init_locations: init_locations,
moves: moves,
final_locations: final_locations,
rt: rt
};

You can add the prompt to the data by adding a new 'prompt' property to the trial data object and giving it the value trial.prompt:

const trial_data = {
  init_locations: init_locations,
  moves: moves,
  final_locations: final_locations,
  rt: rt,
  prompt: trial.prompt
};

Or …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jaydavies16129
Comment options

You must be logged in to vote
1 reply
@becky-gilbert
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants