Skip to content

Unexpected events.tsv file missing warning #213

Open
@VisLab

Description

@VisLab

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions