bids-validator: Need exception for "Empty File error" for CTF datasets
The validator is now raising an error when empty files are encountered.
For the CTF system (MEG), it is customary to have a bunch of files in a directory ending with .ds
. Two of these files are BadChannels
and bad.Segments
and they are always written - even if no bad channels or bad segments are present. Thus, perfectly fine CTF data can contain empty files.
How should we deal with this? A special exception for empty files for BadChannels
and bad.Segments
files if they are found within a .ds
MEG directory?
About this issue
- Original URL
- State: open
- Created 6 years ago
- Comments: 30 (16 by maintainers)
I’ve also seen some backup files that are created by CTF software that can be empty: e.g. bad.segments.bak, or *.eeg.bak. I believe that’s it for potentially empty files.
Note that I asked CTF which files are considered “required” as per their dataset standard, and none of those empty files are. So they could in principle be deleted. But they are still valid. The required files are: .meg4, .res4, .infods, .newds, .hc