bids-validator
bids-validator copied to clipboard
Permit bidsignored files in scans.tsv
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 ignore scans.tsv as well.
xref #971 #976 #979
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.