From 628a5a473e8b1f688f41a25f79b4f44850ac6fe9 Mon Sep 17 00:00:00 2001 From: Elizabeth Kenneally <113037677+e-kenneally@users.noreply.github.com> Date: Sat, 22 Jun 2024 15:57:05 +0900 Subject: [PATCH] Update bids2table/extractors/bids.py Co-authored-by: Connor Lane --- bids2table/extractors/bids.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bids2table/extractors/bids.py b/bids2table/extractors/bids.py index b2bbc4a..6888477 100644 --- a/bids2table/extractors/bids.py +++ b/bids2table/extractors/bids.py @@ -49,8 +49,7 @@ def extract_bids_subdir( """ Extract BIDS records recursively for all files in a sub-directory. """ - for path in Crawler(root=path, skip=exclude, - follow_links=True): + for path in Crawler(root=path, skip=exclude, exclude=exclude, follow_links=True): yield extract_bids_file(path, with_meta=with_meta)