Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 23, 2024
1 parent 07dfb44 commit fef5e36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mne_bids/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -2487,7 +2487,10 @@ def _return_root_paths(root, datatype=None, ignore_json=True, ignore_nosub=False
if ignore_nosub:
search_str = "sub-*/" + search_str

paths = [ Path(root, fn) for fn in glob.iglob(search_str, root_dir=root, recursive=True) ]
paths = [
Path(root, fn)
for fn in glob.iglob(search_str, root_dir=root, recursive=True)
]

# Only keep files (not directories), ...
# and omit the JSON sidecars if `ignore_json` is True.
Expand Down

0 comments on commit fef5e36

Please sign in to comment.