Skip to content

Commit 530f64e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0418e5b commit 530f64e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

mne/io/hitachi/hitachi.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,12 @@ def _read_segment_file(self, data, idx, fi, start, stop, cals, mult):
122122
this_probe["keep_mask"],
123123
this_probe["bounds"],
124124
sep=",",
125-
replace=lambda x: x.replace("\r", "\n")
126-
.replace("\n\n", "\n")
127-
.replace("\n", ",")
128-
.replace(":", ""),
125+
replace=lambda x: (
126+
x.replace("\r", "\n")
127+
.replace("\n\n", "\n")
128+
.replace("\n", ",")
129+
.replace(":", "")
130+
),
129131
).T
130132
)
131133
this_data = np.concatenate(this_data, axis=0)

0 commit comments

Comments
 (0)