-
Notifications
You must be signed in to change notification settings - Fork 41
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
Allow for .bids-validator-config.json filename #3141
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3141 +/- ##
==========================================
+ Coverage 44.03% 44.96% +0.93%
==========================================
Files 593 593
Lines 37807 37807
Branches 1125 1159 +34
==========================================
+ Hits 16647 16999 +352
+ Misses 20958 20617 -341
+ Partials 202 191 -11 ☔ View full report in Codecov by Sentry. |
Well, there seems to be quite a bit of logic linked to having But in either case -- why to forbid other |
yikes, tests fail with
unrelated, filed |
All this would do is not fail on the presence of this file. OpenNeuro will continue to pass its own configuration, so these files will not affect the validation of the dataset on OpenNeuro. Is your goal to override OpenNeuro's configuration? What are your use cases? I doubt we'd permit this. |
that would be unfortunate but I think less critical -- most of them are warnings so we could ensure we are ignoring what we know is Ok and then would react on any new warning or error if they emerge. here is the content of that file: {
"ignore": [
"INCONSISTENT_PARAMETERS",
"INCONSISTENT_SUBJECTS",
"MISSING_SESSION",
"STIMULUS_FILE_MISSING",
"UNUSED_STIMULUS"
]
} I really think that providing targetted configuration for validation is ways better than the current facilitated practice many folks adhere to - ignoring all tricky files via check out those counts and note even a case of abuse of .bidsignore as a directory$> wc -l ds*/.bidsignore | sort -n | nl | tail
wc: ds001583/.bidsignore: Is a directory
245 33 ds002041/.bidsignore
246 34 ds000108/.bidsignore
247 39 ds003684/.bidsignore
248 64 ds000240/.bidsignore
249 82 ds002320/.bidsignore
250 87 ds004475/.bidsignore
251 216 ds004808/.bidsignore
252 553 ds004505/.bidsignore
253 2674 ds000221/.bidsignore
254 4576 total
and cases like $> cat ds000108/.bidsignore
sub-01/func
sub-02/func
... |
@effigies @nellh @rwblair WDYT about a global solution to allow / use the provided .bids-validator-config.json? e.g.
|
We have a legitimate configuration for (legacy) bids-validation within dataset in .bids-validator-config.json . git push was denied with no specific file mentioned but I guess it is because of that file.
2538051
to
f54e4b4
Compare
ping on this issue. Here is my current list of .dotfiles
and IMHO they are all legitimate ;-) Even if my .bids-validator-config.json gets ignored -- I will "survive" while progressing forward while openneuro still complains - I will just finally ignore stuff in .bidsignore : ATM I cannot even push! |
We have a legitimate configuration for (legacy) bids-validation within dataset in .bids-validator-config.json .
git push was denied with no specific file mentioned but I guess it is because of that file.