INT-NIT / BEP032tools

Software tools supporting the BIDS Extension Proposal (BEP) dedicated to adding support for electrophysiological data recorded in animal models (BEP032)
MIT License
3 stars 8 forks source link

Inconsistency in rules #64

Closed Slowblitz closed 3 years ago

Slowblitz commented 3 years ago

In the mandatory data file rule cf: Capture d’écran du 2021-03-01 15-46-10 In this list of files all the file within the list must be present in the dataset ,but in the example above we want either :

OR

The "or " here doesn't make sense to me because if there is one of the file but not the other one, one of those file is not mandatory. WDYT ?

Slowblitz commented 3 years ago

Solved : by replacing the list of extension by a regexp : [f'({AUTHORIZED_DATA_EXTENSIONS[0]}|{AUTHORIZED_DATA_EXTENSIONS[1]})']]