Skip to content

Commit fe5e0d2

Browse files
committed
line length fixes for pre-commit in mne/preprocessing/nirs/nirs.py
1 parent f2f49bd commit fe5e0d2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mne/preprocessing/nirs/nirs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ def _check_channels_ordered(info, pair_vals, *, throw_errors=True, check_bads=Tr
208208
for pick in group_picks
209209
]
210210

211-
# Separate the parsed components: source IDs, detector IDs, and values (freq/chromophore)
211+
# Separate the parsed components:
212+
# source IDs, detector IDs, and values (freq/chromophore)
212213
s_group, d_group, val_group = zip(*group_info)
213214

214215
# For wavelength data, convert string frequencies to float for comparison
@@ -223,7 +224,8 @@ def _check_channels_ordered(info, pair_vals, *, throw_errors=True, check_bads=Tr
223224
picks = _throw_or_return_empty(
224225
"NIRS channels not ordered correctly. Channels must be "
225226
"grouped by source-detector pairs with alternating {error_word} "
226-
f"values {pair_vals}, but got mismatching names {[info['ch_names'][pick] for pick in group_picks]}.",
227+
f"values {pair_vals}, but got mismatching names "
228+
f"{[info['ch_names'][pick] for pick in group_picks]}.",
227229
throw_errors,
228230
)
229231
break

0 commit comments

Comments
 (0)