Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow skipping data logging for a trial with record_data: false #3167

Merged
merged 5 commits into from
Dec 8, 2023

Conversation

jodeleeuw
Copy link
Member

This adds record_data as a trial parameter. If set to false then data collection is skipped for that trial.

var trial = {
  type: jsPsychImageKeyboardResponse,
  stimulus: 'imgA.jpg',
  record_data: false
}

This closes #687.

@changeset-bot
Copy link

changeset-bot bot commented Oct 30, 2023

🦋 Changeset detected

Latest commit: 007d862

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
jspsych Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jodeleeuw jodeleeuw linked an issue Oct 30, 2023 that may be closed by this pull request
@jodeleeuw jodeleeuw requested a review from bjoluc October 30, 2023 13:50
@jodeleeuw jodeleeuw added this to the 8.0 milestone Oct 30, 2023
@bjoluc bjoluc linked an issue Dec 6, 2023 that may be closed by this pull request
@jodeleeuw jodeleeuw merged commit 2898da6 into v8 Dec 8, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Removal of on_data_update event Allow skipping data logging for a trial
2 participants