Skip to content

Commit

Permalink
pre-commit syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
waldie11 committed Feb 3, 2025
1 parent bc05216 commit 0480497
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 @@ -2546,7 +2546,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 0480497

Please sign in to comment.