diff --git a/python/lib/bidsreader.py b/python/lib/bidsreader.py index 06787f9ac..4966d3e3d 100755 --- a/python/lib/bidsreader.py +++ b/python/lib/bidsreader.py @@ -125,7 +125,7 @@ def load_bids_data(self, validate: bool): if self.verbose: print('Loading the BIDS dataset with BIDS layout library...\n') - exclude_arr = ['/code/', '/sourcedata/', '/log/', '.git/'] + exclude_arr = ['code', 'sourcedata', 'log', '.git'] force_arr = [re.compile(r"_annotations\.(tsv|json)$")] # BIDSLayoutIndexer is required for PyBIDS >= 0.12.1