openMetadataInitiative / bids2openminds

A tool to generate openMINDS metadata from BIDS datasets
MIT License
1 stars 3 forks source link

Some of the datasets have unauthorized values for age in participants.tsv file #29

Closed Peyman-N closed 3 months ago

Peyman-N commented 4 months ago

Some BIDS example datasets have unauthorized values for participants age in participants.tsv file. This The BIDS specification specify following for age.

Numeric value in years (float or integer value). It is RECOMMENDED to tag participant ages that are 89 or higher as 89+, for privacy purposes. This column may appear anywhere in the file.

These datasets have XX value for participant age. Example of such datasets are ieeg_epilepsyNWB and ieeg_epilepsy.

This condition break the collection.validate part of converter.