EEG bids data set: inheritance?

Hey all,

Helping a friend create a her first EEG data set. Not sure about the following problem.

The 2 following options (A and B) are a valid data set according to the validator:

A)

├── dataset_description.json
├── sub-04
│   └── eeg
│       ├── sub-04_task-orth_eeg.bdf
│       └── sub-04_task-orth_eeg.json
├── sub-99
│   └── eeg
│       ├── sub-99_task-orth_eeg.bdf
│       └── sub-99_task-orth_eeg.json
└── task-orth_eeg.json

B) same but after removing the json file for subject 04

├── dataset_description.json
├── sub-04
│   └── eeg
│       └── sub-04_task-orth_eeg.bdf
├── sub-99
│   └── eeg
│       ├── sub-99_task-orth_eeg.bdf
│       └── sub-99_task-orth_eeg.json
└── task-orth_eeg.json

But the following is not.

C) After removing json files for both subject and using only the json file in the base directory.

├── dataset_description.json
├── sub-04
│   └── eeg
│       └── sub-04_task-orth_eeg.bdf
├── sub-99
│   └── eeg
│       └── sub-99_task-orth_eeg.bdf
└── task-orth_eeg.json

Validator says:
Quick validation failed - the general folder structure does not resemble a BIDS dataset.

Attached is the error file from the validator.
YF_EEG_BIDS_errors.txt (560 Bytes)

Any idea what is going on?

Thanks

PS I am new to BIDS EEG. :slight_smile:

This looks like a bug in the validator to me.

1 Like

OK will raise an issue.

Linking in: https://github.com/bids-standard/bids-validator/issues/830