-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add num blinks #526
Merged
Merged
Add num blinks #526
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
09f7e26
add: numBlinks to json, change nested structure
YUUU23 87a196b
add: numblinks and code fields, change access in used files, import s…
YUUU23 5d40bf2
rem: lodash since accessing event name is different
YUUU23 aec9af7
fix typo: Update src/config/eventCodes.json
YUUU23 d080046
fix typo: Update src/config/eventCodes.json
YUUU23 b1fca91
fix typo: Update src/config/eventCodes.json
YUUU23 41a19c6
fix: uniform numBlinks with eventCodes
YUUU23 336c458
Merge branch 'feat-v4' into add-numBlinks
YUUU23 46bd876
Merge branch 'add-numBlinks' of https://github.com/brown-ccv/honeycom…
YUUU23 c320737
ref: del event_codes file and move event codes into settings.json und…
YUUU23 e1f6361
Remove console.log, Update src/experiment/procedures/honeycombProcedu…
YUUU23 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,9 @@ | |
"fixation": { | ||
"default_duration": 1000, | ||
"randomize_duration": true, | ||
"durations": [250, 500, 750, 1000, 1250, 1500, 1750, 2000] | ||
"durations": [250, 500, 750, 1000, 1250, 1500, 1750, 2000], | ||
"code": 1, | ||
"numBlinks": 1 | ||
}, | ||
"honeycomb": { | ||
"randomize_order": true, | ||
|
@@ -16,6 +18,16 @@ | |
"stimulus": "assets/images/orange.png", | ||
"correct_response": "j" | ||
} | ||
] | ||
], | ||
"code": 2, | ||
"numBlinks": 2 | ||
}, | ||
"open_task": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. inserted these 2 events from the original event codes file |
||
"code": 18, | ||
"numBlinks": 18 | ||
}, | ||
"test_connect": { | ||
"code": 32, | ||
"numBlinks": 32 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since codes are now embedded under the settings.json, I had to import the entire settings object into the trigger object to access the code