Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
# Ruff mne
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.14
rev: v0.15.0
hooks:
- id: ruff-check
name: ruff lint mne
Expand Down
10 changes: 6 additions & 4 deletions mne/io/hitachi/hitachi.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,12 @@ def _read_segment_file(self, data, idx, fi, start, stop, cals, mult):
this_probe["keep_mask"],
this_probe["bounds"],
sep=",",
replace=lambda x: x.replace("\r", "\n")
.replace("\n\n", "\n")
.replace("\n", ",")
.replace(":", ""),
replace=lambda x: (
x.replace("\r", "\n")
.replace("\n\n", "\n")
.replace("\n", ",")
.replace(":", "")
),
).T
)
this_data = np.concatenate(this_data, axis=0)
Expand Down