-
Notifications
You must be signed in to change notification settings - Fork 111
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 functional phase data patterns to file_level_rules #835
Conversation
Codecov Report
@@ Coverage Diff @@
## master #835 +/- ##
=======================================
Coverage 89.08% 89.08%
=======================================
Files 81 81
Lines 2328 2328
Branches 427 427
=======================================
Hits 2074 2074
Misses 218 218
Partials 36 36 Continue to review full report at Codecov.
|
@effigies Done! In reordering the tokens I noticed that |
I can't seem to find a reference to defacemasks for functional images in the standard even outside the entity table. If its removed then we can simplify the whole section by adding a 'func_ext' like other sections have for matching .nii nii.gz and .json, defacemask is the only one missing .json extension. |
Perhaps check the |
Looks like its origins are in #233. Implies that at some point in the spec that func defacemasks were acceptable. |
ds000113 has funcitonal defacemasks for every run. So I guess well keep them in the validator for now. I'll keep looking to see if there is any further discussion around this. |
Okay, that sounds good. Regarding supporting functional phase data, is there anything else that needs to be changed? It seems to be working locally on my own complex (phase+mag), multi-echo data. |
@tsalo one last thing, could you add an example of a valid filename to bids-validator/tests/type.spec.js around line 41 to have it covered by some sort of test? |
Closes #834. Adds support for functional phase data (added to the BIDS specification in bids-standard/bids-specification#128 and bids-standard/bids-specification#312).