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 setting attributes for all trials #60

Open
n-kall opened this issue May 3, 2019 · 0 comments
Open

Allow setting attributes for all trials #60

n-kall opened this issue May 3, 2019 · 0 comments

Comments

@n-kall
Copy link

n-kall commented May 3, 2019

Currently it seems we need to specify all trial info in every single trial, even when it is completely redundant.
For example, in the 'key press' view template, we need to include "key1" and "key2" in each individual trial object.

It would be great if when instantiating the view we could do something like this:

const practice = babeViews.keyPress({
    trials: 12,
    name: 'practice',
    trial_type: 'practice',
    data: practice_trials_info,
    key1: "f",
    key2: "j",
    f: "same",
    j: "different",
});
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

No branches or pull requests

1 participant