We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The BIDS Specification allows for echo and chunk with non-parametric structural MR images. The bids-validator does not.
bids-validator https://github.com/bids-standard/bids-validator/blob/1163824c837910ba6ceebc38e3098438221f8bf1/bids-validator/bids_validator/rules/file_level_rules.json#L3
BIDS Specification Modality specific files section and the Entity Table appendix. https://bids-specification.readthedocs.io/en/stable/modality-specific-files/magnetic-resonance-imaging-data.html#non-parametric-structural-mr-images https://bids-specification.readthedocs.io/en/stable/appendices/entity-table.html
For the bids-validator, the new line should be:
"regexp": "^[\\/\\\\](sub-[a-zA-Z0-9]+)[\\/\\\\](?:(ses-[a-zA-Z0-9]+)[\\/\\\\])?anat[\\/\\\\]\\1(_\\2)?(?:_task-[a-zA-Z0-9]+)?(?:_acq-[a-zA-Z0-9]+)?(?:_ce-[a-zA-Z0-9]+)?(?:_rec-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_echo-[0-9]+)?(?:_part-(imag|mag|phase|real))?(?:_chunk-[0-9]+)?_(?:@@@_anat_suffixes_@@@)\\.(@@@_anat_ext_@@@)$",
The text was updated successfully, but these errors were encountered:
Thanks for the bug report! Would you be willing to submit a PR with your proposed fix?
Sorry, something went wrong.
Sure, I modified the regex and created a pull request. https://github.com/bids-standard/bids-validator/pull/1863
No branches or pull requests
The BIDS Specification allows for echo and chunk with non-parametric structural MR images. The bids-validator does not.
bids-validator
https://github.com/bids-standard/bids-validator/blob/1163824c837910ba6ceebc38e3098438221f8bf1/bids-validator/bids_validator/rules/file_level_rules.json#L3
BIDS Specification Modality specific files section and the Entity Table appendix.
https://bids-specification.readthedocs.io/en/stable/modality-specific-files/magnetic-resonance-imaging-data.html#non-parametric-structural-mr-images
https://bids-specification.readthedocs.io/en/stable/appendices/entity-table.html
For the bids-validator, the new line should be:
The text was updated successfully, but these errors were encountered: