Skip to content

Commit

Permalink
Update bids2table/extractors/bids.py
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Lane <[email protected]>
  • Loading branch information
e-kenneally and clane9 authored Jun 22, 2024
1 parent 6b5d994 commit 628a5a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bids2table/extractors/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 628a5a4

Please sign in to comment.