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 Feb 2, 2025
1 parent fa7d989 commit 102eb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne_bids/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -2548,7 +2548,7 @@ def _return_root_paths(root, datatype=None, ignore_json=True, ignore_nosub=False
else:
if datatype is not None:
datatype = _ensure_tuple(datatype)
search_str = f'**/{"|".join(datatype)}/*'
search_str = f"**/{'|'.join(datatype)}/*"

# I think this one is more appropriate
search_str = search_str + ".*"
Expand Down

0 comments on commit 102eb3d

Please sign in to comment.