Skip to content

Commit

Permalink
pre-commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
waldie11 committed Jan 2, 2025
1 parent c58b309 commit 9f35037
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mne_bids/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
from copy import deepcopy
from datetime import datetime
from io import StringIO
from itertools import chain as iter_chain
from os import path as op
from pathlib import Path
from textwrap import indent
from itertools import chain as iter_chain

import numpy as np
from mne.utils import _check_fname, _validate_type, logger, verbose
Expand Down Expand Up @@ -2476,7 +2476,6 @@ def _return_root_paths(root, datatype=None, ignore_json=True, ignore_nosub=False
search_str = "*.*"
paths = root.rglob(search_str)
else:

if datatype is not None:
datatype = _ensure_tuple(datatype)
search_str = f'**/{"|".join(datatype)}/*'
Expand Down

0 comments on commit 9f35037

Please sign in to comment.