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 18, 2024
1 parent 6aa9511 commit a965a0d
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 @@ -2472,7 +2472,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 a965a0d

Please sign in to comment.