Open effigies opened 3 years ago
Facing the same problem. I am willing to have a go at implementing this if it is approved that we can ignore files in scans.tsv
that correspond to filters in .bidsignore
I suppose it's a question of how ignored files are treated. If they are simply dropped, then yes, doing a match of scans.tsv
files against ignore entries is probably the best we can easily do.
If we have a list of ignored files, then I think it would be good to check whether the entry is in that list, as we can then still error on absent files.
This may be done. Adding a test case should resolve it.
There are unstandardized files that might nevertheless be appropriate to put in a scans.tsv. By putting them in
.bidsignore
, we get[ERR] The filename in scans.tsv file does not match what is present in the BIDS dataset. (code: 129 - SCANS_FILENAME_NOT_MATCH_DATASET)
, and thus have to ignorescans.tsv
as well.xref bids-standard/legacy-validator#971 bids-standard/legacy-validator#976 bids-standard/bids-validator#70