From 2a942b53192c5155b5c4e6b4217d359f02913cbe Mon Sep 17 00:00:00 2001 From: Maxime Mulder Date: Tue, 3 Dec 2024 15:19:07 -0500 Subject: [PATCH] fix layout ignore --- python/lib/bidsreader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lib/bidsreader.py b/python/lib/bidsreader.py index 6690995aa..1add38648 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