-
Notifications
You must be signed in to change notification settings - Fork 161
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
[ENH] Make explicit that "task" metadata applies to "beh" modality #804
[ENH] Make explicit that "task" metadata applies to "beh" modality #804
Conversation
@melanieganz and @mnoergaard I am adding you as reviewers as this also relates to PET. 😄 |
src/04-modality-specific-files/09-positron-emission-tomography.md
Outdated
Show resolved
Hide resolved
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.
LGTM, probably something to remind ourselves of in #774
Mmh yes ... about updating the validator: Would you add it to the Otherwise we'd have to specify it in the events.json schema: https://github.com/bids-standard/bids-validator/blob/master/bids-validator/validators/json/schemas/events.json |
I would be more in favor of creating a This will need to happen at some point anyway. |
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.
LGTM. Suggested switching to Stroop instead of rest, since rest produces no behavioral data.
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.
This PR will have to be updated with respect to #774 --> metadata tables are now rendered via macros directly from the schema.
Other than that technical change request, I still approve of this PR
Co-authored-by: Chris Markiewicz <[email protected]>
Updated the PR to use the macros and the schema definitions. The problem is that now the definitions for Suggestions: shorten the base definitions and add the "resting state" mentions where necessary (func, eeg, meg, ieeg). @tsalo does that make sense to you? |
88956a4
to
944baf0
Compare
👍 That works for me! |
src/04-modality-specific-files/04-intracranial-electroencephalography.md
Outdated
Show resolved
Hide resolved
Tempted to add some info in the contributing.md on how to formulate the call to the macros to use the metadata description contained in the schema. |
I think that's a good idea 👍 we'll have to refer people to such docs quite some times in the future |
This reverts commit 1352662.
Thanks @Remi-Gau 🎉 let's get the validator PR fixed and merged next |
yup. |
Fixes #795
Adds task metadata that exist in other modalities to:
PETAll metadata is RECOMMENDED.
Making
TaskName
REQUIRED (like it is for other modalities) could break backward compatibility, no?I used a pretty global approach for
beh
assuming that these metadata could go in any of JSON flles on can find in this folder: should we have a more fine grain approach to this?