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

Add validator check for hidden directories

Open ckrountree opened this issue 5 years ago • 2 comments

As per Franklin Feingold: this would be extending the validator to raise an error for hidden directories in the data structure

related: https://github.com/bids-standard/bids-validator/issues/627

NOTE: moved this ticket from the OpenNeuro repo (https://github.com/OpenNeuroOrg/openneuro/issues/1412) to the Bids validator repo.

ckrountree avatar May 06 '20 18:05 ckrountree

I think that also hidden files are currently not checked for, see https://neurostars.org/t/behavior-metadata-without-tsv-event-data-related-to-a-neuroimaging-data/6768/9?u=sappelhoff

I could now have my bids directory with a .myrandom_garbage.stuff file in there and the validator would permit that.

sappelhoff avatar May 07 '20 08:05 sappelhoff

I think this would need to be a configuration option. In general, hidden files/directories are okay, and disabling them by default would cause severe annoyance.

From an OpenNeuro perspective, we just filter out hidden files/directories, so they also don't matter there. So it's not entirely clear to me who the target audience is, but it's been requested several times, so I'll leave this open.

effigies avatar Nov 05 '24 15:11 effigies