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

NF: Added abortCurrentTrial method to TrialHandler2 #5423

Merged
merged 7 commits into from Mar 8, 2023

Conversation

mdcutone
Copy link
Member

@mdcutone mdcutone commented Mar 6, 2023

Initial commit of the new TrialHandler2.abortCurrentTrial() method which allows users to abort a trial and replace it elsewhere in the block. The method accepts parameter action which specifies how the skipped trial is replaced. Value can either be random or append.

@peircej peircej merged commit 74d7927 into psychopy:dev Mar 8, 2023
0 of 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.

None yet

2 participants