-
Notifications
You must be signed in to change notification settings - Fork 171
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
inheritance: "false positive" conflict among metadata files if some entities are missing #1182
Comments
With #1003, Generally in a situation like this it would be recommended that both images should have the
So |
Thank you @Lestropie , I agree that #1003 would address this issue and make it legit. Thinking further, I am not even sure if validator should even warn about such cases since I might want to use them on purpose in cases where e.g. |
Personally I certainly wouldn't want to be issuing a warning due to inheritance from multiple files in a single directory. I'm proposing it specifically because I need to use it, so a warning would be counter-productive. A validator warning about overwrites in the process of inheritance would be reasonable I think. For me, I would be avoiding overwrites, I merely want to be able to store sidecar information at the appropriate point in the hierarchy. Overwriting is ill-advised from my own perspective, but is a possibility and therefore needs to be described robustly. |
Originally brought up in #102 (comment) and discussed briefly in the https://github.com/bids-standard/bids-specification/pull/946/files#r771841807 with @Lestropie.
The Inheritance Principle (IP) has
from which for IMHO a legit (didn't check with bids-validator though) case of
we would get a violation of the rule 4 if we follow 2.c
since both
sub-01_task-rest_bold.json
andsub-01_task-rest_acq-tricky_bold.json
would be applicable tosub-01_task-rest_acq-tricky_bold.nii.gz
.I see following possible Fixes:
sub-01_task-rest_bold.json
is not considered forsub-01_task-rest_acq-tricky_bold.nii.gz
since there issub-01_task-rest_bold.nii.gz
.The text was updated successfully, but these errors were encountered: