Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Rework mne bids path match #1355

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
provide last call from root.rglob
  • Loading branch information
waldie11 committed Dec 18, 2024
commit 663389846eb372637c91adbbcbc5fac4e7d1c073
1 change: 1 addition & 0 deletions mne_bids/path.py
Original file line number Diff line number Diff line change
@@ -2457,6 +2457,7 @@ def _return_root_paths(root, datatype=None, ignore_json=True, ignore_nosub=False

if datatype is None and not ignore_nosub:
search_str = "*.*"
paths = root.rglob(search_str)
else:

if datatype is not None: