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 .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
python: '3.13'
kind: pip
- os: ubuntu-latest
python: '3.13'
python: '3.14'
kind: pip-pre
- os: ubuntu-latest
python: '3.13'
Expand Down
1 change: 1 addition & 0 deletions doc/changes/dev/13579.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix bug with montage test error message checking, by `Eric Larson`_.
2 changes: 2 additions & 0 deletions doc/sphinxext/mne_doc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def reset_warnings(gallery_conf, fname):
for message in (
# Matplotlib
".*is non-interactive, and thus cannot.*",
# nilearn
r"You are using the.*matplotlib backend that[.\n]*",
# pybtex
".*pkg_resources is deprecated as an API.*",
):
Expand Down
3 changes: 1 addition & 2 deletions examples/inverse/mixed_source_space_inverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
Compute MNE inverse solution on evoked data with a mixed source space
=====================================================================
Create a mixed source space and compute an MNE inverse solution on an
evoked dataset.
Create a mixed source space and compute an MNE inverse solution on an evoked dataset.
"""
# Author: Annalisa Pascarella <[email protected]>
#
Expand Down
4 changes: 2 additions & 2 deletions mne/channels/tests/test_standard_montage.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def test_set_montage_artinis_basic():
)
new = RawArray(np.random.normal(size=(2, len(raw))), info_new)
raw.add_channels([new], force_update_info=True)
with pytest.raises(ValueError, match="is not in list"):
with pytest.raises(ValueError, match="not in list"):
raw.set_montage("artinis-brite23")

# Detector not in montage: fail
Expand All @@ -302,5 +302,5 @@ def test_set_montage_artinis_basic():
)
new = RawArray(np.random.normal(size=(2, len(raw))), info_new)
raw.add_channels([new], force_update_info=True)
with pytest.raises(ValueError, match="is not in list"):
with pytest.raises(ValueError, match="not in list"):
raw.set_montage("artinis-brite23")
2 changes: 1 addition & 1 deletion mne/report/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -3546,7 +3546,7 @@ def _add_projs(
evoked = None
if isinstance(info, Info): # no-op
pass
elif hasattr(info, "info"): # try to get the file name
elif isinstance(getattr(info, "info", None), Info): # try to get the file name
if isinstance(info, Evoked):
evoked = info
info = info.info
Expand Down
6 changes: 4 additions & 2 deletions tools/install_pre_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ python -m pip install $STD_ARGS --only-binary ":all:" --default-timeout=60 \
"scipy>=1.15.0.dev0" \
"scikit-learn>=1.6.dev0" \
"pandas>=3.0.0.dev0" \
"dipy>=1.10.0.dev0" \
"tables>=3.10.3.dev0" \
"statsmodels>=0.15.0.dev697" \
"pyarrow>=22.0.0.dev0" \
"matplotlib>=3.11.0.dev0" \
"h5py>=3.13.0"
# Needs https://github.com/dipy/dipy/pull/3678
# "dipy>=1.12.0.dev0"
# Needs https://github.com/PyTables/PyTables/pull/1286
# "tables>=3.10.3.dev0"
echo "::endgroup::"
# No Numba because it forces an old NumPy version

Expand Down