Skip to content

Commit 5dff160

Browse files
authored
Merge branch 'main' into add-bci2000-reader
2 parents 3b16882 + 16c220d commit 5dff160

115 files changed

Lines changed: 2753 additions & 288 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/credit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
set -xeo pipefail
3838
git config --global user.email "50266005+mne-bot@users.noreply.github.com"
3939
git config --global user.name "mne[bot]"
40-
BRANCH=credit/$GITHUB_RUN_ID
40+
BRANCH=credit/$(date '+%Y%m%d')
4141
git checkout -b $BRANCH
4242
git commit -am "mne[bot]: Update code credit"
4343
git push origin $BRANCH
44-
PR_NUM=$(gh pr create --base main --head $BRANCH --title "MAINT: Update code credit" --body "Created by credit [GitHub action](https://github.com/mne-tools/mne-python/actions/runs/${{ github.run_id }}). <br> <br> *Adjustments may need to be made to \`doc/changes/credit_tools.py\` or \`.mailmap\` etc. to get CircleCI to pass.*" --label "no-changelog-entry-needed")
44+
PR_NUM=$(gh pr create --base main --head $BRANCH --title "MAINT: Update code credit" --body "Created by credit [GitHub action](https://github.com/mne-tools/mne-python/actions/runs/${{ github.run_id }}). <br> <br> *Adjustments may need to be made to \`doc/sphinxext/credit_tools.py\` or \`.mailmap\` etc. to get CircleCI to pass.*" --label "no-changelog-entry-needed")
4545
echo "Opened https://github.com/mne-tools/mne-python/pull/${PR_NUM}" >> $GITHUB_STEP_SUMMARY
4646
if: steps.status.outputs.dirty == 'true'

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
pip install build twine
2929
- run: python -m build --sdist --wheel
3030
- run: twine check --strict dist/*
31-
- uses: actions/upload-artifact@v6
31+
- uses: actions/upload-artifact@v7
3232
with:
3333
name: dist
3434
path: dist
@@ -43,7 +43,7 @@ jobs:
4343
name: pypi
4444
url: https://pypi.org/p/mne
4545
steps:
46-
- uses: actions/download-artifact@v7
46+
- uses: actions/download-artifact@v8
4747
with:
4848
name: dist
4949
path: dist

.github/workflows/spec_zero.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Create lockfile for old CI
5252
# uv pip compile requires setting the python version explicitly in the command :(
5353
run: |
54-
uv pip compile pyproject.toml --python "3.10" --python-platform "x86_64-unknown-linux-gnu" --group test --extra ver-auto-bumped --resolution lowest-direct --format pylock.toml --output-file tools/pylock.ci-old.toml
54+
uv pip compile pyproject.toml --python "3.10" --python-platform "x86_64-unknown-linux-gnu" --group test --group lockfile_extras --resolution lowest-direct --format pylock.toml --output-file tools/pylock.ci-old.toml
5555
python tools/github_actions_check_old_lockfile.py
5656
- name: check if files changed
5757
run: |

.github/zizmor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ rules:
33
config:
44
policies:
55
"*": ref-pin
6+
secrets-outside-env:
7+
disable: true # TODO: Someday we should use envs for these

.mailmap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Andrew Dykstra <andrew.r.dykstra@gmail.com>
2020
Andrew Quinn <AJQuinn@users.noreply.github.com> AJQuinn <AJQuinn@users.noreply.github.com>
2121
Andy Gilbert <7andy121@gmail.com> Andrew Gilbert <adgilbert21@icloud.com>
2222
Andy Gilbert <7andy121@gmail.com> Andrew Gilbert <andrew.gilbert@irhythmtech.com>
23+
Aniket Singh Yadav <148300120+Aniketsy@users.noreply.github.com> Aniket <148300120+Aniketsy@users.noreply.github.com>
2324
Anna Padee <anna.padee@gmail.com> apadee <44297909+apadee@users.noreply.github.com>
2425
Anne-Sophie Dubarry <as_dub@hotmail.com> annesodub <as_dub@hotmail.com>
2526
Archit Singhal <43236121+architsinghal-mriirs@users.noreply.github.com> archit singhal <zyphergiest@pop-os.localdomain>
@@ -290,6 +291,8 @@ Pierre-Antoine Bannier <pierreantoine.bannier@gmail.com> Pierre-Antoine Bannier
290291
Pierre-Antoine Bannier <pierreantoine.bannier@gmail.com> Pierre-Antoine Bannier <pierre-antoine@MacBook-Pro-de-Pierre-Antoine.local>
291292
Pierre-Antoine Bannier <pierreantoine.bannier@gmail.com> Pierre-Antoine Bannier <pierre-antoine@mbpdepieantoine.home>
292293
Ping-Keng Jao <ping-keng.jao@alumni.epfl.ch> nafraw <ping-keng.jao@alumni.epfl.ch>
294+
Pragnya Khandelwal <prag1704@gmail.com> Pragnya <prag1704@gmail.com>
295+
Pragnya Khandelwal <prag1704@gmail.com> PragnyaKhandelwal <prag1704@gmail.com>
293296
Praveen Sripad <pravsripad@gmail.com> prav <prav@prav-dell.(none)>
294297
Praveen Sripad <pravsripad@gmail.com> prav <pravsripad@gmail.com>
295298
Proloy Das <pdas6@mgh.harvard.edu> pdas6 <pdas6@mgh.harvard.edu>

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# Ruff mne
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.15.2
4+
rev: v0.15.7
55
hooks:
66
- id: ruff-check
77
name: ruff lint mne
@@ -23,7 +23,7 @@ repos:
2323

2424
# Codespell
2525
- repo: https://github.com/codespell-project/codespell
26-
rev: v2.4.1
26+
rev: v2.4.2
2727
hooks:
2828
- id: codespell
2929
additional_dependencies:
@@ -82,7 +82,7 @@ repos:
8282

8383
# zizmor
8484
- repo: https://github.com/woodruffw/zizmor-pre-commit
85-
rev: v1.22.0
85+
rev: v1.23.1
8686
hooks:
8787
- id: zizmor
8888
args: [--fix]

doc/api/events.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Events
99

1010
Annotations
1111
AcqParserFIF
12+
HEDAnnotations
1213
concatenate_events
1314
count_events
1415
find_events
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add :class:`mne.HEDAnnotations` for attaching `HED (Hierarchical Event Descriptors) <https://www.hedtags.org>`__ tags to annotations, by :newcontrib:`Kay Robbins`, `Bruno Aristimunha`_, and `Daniel McCloy`_.

doc/changes/dev/13518.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make :meth:`~mne.io.Raw.interpolate_bads` method flexible (ignore, warn, raise) about how to handle interpolation of channels with invalid positions, by `Himanshu Mahor`_.

doc/changes/dev/13685.other.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Document the behavior of :term:`first_samp` after :meth:`~mne.io.Raw.crop` and add ``reset_first_samp`` parameter to reset it to 0 after cropping, by :newcontrib:`Famous077`.

0 commit comments

Comments
 (0)