bids-validator icon indicating copy to clipboard operation
bids-validator copied to clipboard

Permit bidsignored files in scans.tsv

Open effigies opened this issue 4 years ago • 2 comments

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

effigies avatar Oct 14 '21 15:10 effigies

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

appukuttan-shailesh avatar Mar 06 '24 11:03 appukuttan-shailesh

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.

effigies avatar Mar 06 '24 14:03 effigies