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

Unexpected events.tsv file missing warning

Open VisLab opened this issue 4 months ago • 0 comments

I am updating some datasets that are on openNeuro but were validated with much earlier versions of the validator. I am getting the following unexpected (and I think incorrectly given) warning:

  [WARNING] EVENTS_TSV_MISSING Task scans should have a corresponding 'events.tsv' file.
If this is a resting state scan you can ignore this warning or rename the task to include the word "rest".

                /sub-001/eeg/sub-001_task-AuditoryVisualShift_run-01_channels.tsv
                /sub-001/eeg/sub-001_task-AuditoryVisualShift_run-01_eeg.fdt

                154 more files with the same issue

The validator is: https://jsr.io/@bids/validator/2.0.7/src/bids-validator.ts. This happens on both the online validator and running locally directly using deno. The validator recognizes the events.tsv files since it also gives a valid warning:

[WARNING] TSV_ADDITIONAL_COLUMNS_UNDEFINED A TSV file has extra columns which are not defined in its associated JSON sidecar
                sample
                /sub-001/eeg/sub-001_task-AuditoryVisualShift_run-01_events.tsv
                /sub-002/eeg/sub-002_task-AuditoryVisualShift_run-01_events.tsv

                50 more files with the same issue

VisLab avatar Jun 09 '25 12:06 VisLab