Skip to content

Commit 8d6a5f1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b2b421d commit 8d6a5f1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mne_bids/path.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2280,9 +2280,11 @@ def _filter_fnames(
22802280
r"_proc-(" + "|".join(processing) + ")" if processing else r"(|_proc-([^_]+))"
22812281
)
22822282
space_str = r"_space-(" + "|".join(space) + ")" if space else r"(|_space-([^_]+))"
2283-
rec_str = (r"_recording-(" + "|".join(recording) + ")"
2284-
if recording else r"(|_recording-([^_]+))"
2285-
)
2283+
rec_str = (
2284+
r"_recording-(" + "|".join(recording) + ")"
2285+
if recording
2286+
else r"(|_recording-([^_]+))"
2287+
)
22862288
split_str = r"_split-(" + "|".join(split) + ")" if split else r"(|_split-([^_]+))"
22872289
desc_str = (
22882290
r"_desc-(" + "|".join(description) + ")" if description else r"(|_desc-([^_]+))"

0 commit comments

Comments
 (0)