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

upper- vs lower- casing of file extensions: Validator should send informative error message

Open adam2392 opened this issue 3 years ago • 1 comments

Upon uploading to OpenNeuro, I get an error for uploading an EDF file with .EDF extension. Apparently only .edf is valid, however, the error message is not so clear about this.

Files with such naming scheme are not part of BIDS specification. This error is most commonly caused by typos in file names that make them not BIDS compatible. Please consult the specification and make sure your files are named correctly. If this is not a file naming issue (for example when including files not yet covered by the BIDS specification) you should include a ".bidsignore" file in your dataset (see https://github.com/bids-standard/bids-validator#bidsignore for details). Please note that derived (processed) data should be placed in /derivatives folder and source data (such as DICOMS or behavioural logs in proprietary formats) should be placed in the /sourcedata folder.

Location: /sub-kumc1/ses-extraoperative/ieeg/sub-kumc1_ses-extraoperative_task-interictal_run-01_ieeg.EDF

See: https://github.com/bids-standard/bids-validator/pull/1381#issuecomment-965253877

An improved error/warning message is desired.

This can be marked as an easy issue.

adam2392 avatar Nov 09 '21 20:11 adam2392

See: https://github.com/bids-standard/bids-validator/pull/1381#issuecomment-965253877

An improved error/warning message is desired.

This can be marked as an easy issue.

adam2392 avatar Nov 12 '21 16:11 adam2392