Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (mne-tools#12837)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Larson <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and larsoner authored Sep 12, 2024
1 parent ebab915 commit 9a2f887
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
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.6.3
rev: v0.6.4
hooks:
- id: ruff
name: ruff lint mne
Expand Down
7 changes: 6 additions & 1 deletion tutorials/inverse/70_eeg_mri_coords.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,12 @@
# You can also verify that these are correct (or manually convert voxels
# to MRI coords) by looking at the points in Freeview or tkmedit.

dig_montage = read_custom_montage(fname_mon, head_size=None, coord_frame="mri")
dig_montage = read_custom_montage(
fname_mon,
head_size=None,
coord_frame="mri",
verbose="error", # because it contains a duplicate point
)
dig_montage.plot()

##############################################################################
Expand Down

0 comments on commit 9a2f887

Please sign in to comment.