Skip to content

Commit 07d96d1

Browse files
committed
Merge remote-tracking branch 'upstream/master' into importBOXY
* upstream/master: MRG, MAINT: Try conda-forge (mne-tools#8046) MRG, MAINT: deduplicate definition of FIFF constants (mne-tools#8537) ENH: Add realign_raw (mne-tools#8540) CI: Use 20.04 (mne-tools#8541) fix example (mne-tools#8539) MRG, VIZ, FIX: plot_sensors title and interactivity (mne-tools#8536) MRG, MAINT: Test 3.9 (mne-tools#8533)
2 parents d8e8955 + 0e56673 commit 07d96d1

32 files changed

+405
-184
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on: [status]
22
jobs:
33
circleci_artifacts_redirector_job:
4-
runs-on: ubuntu-latest
4+
runs-on: ubuntu-20.04
55
name: Run CircleCI artifacts redirector
66
steps:
77
- name: GitHub Action step

.github/workflows/codespell_and_flake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
style:
1212
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-20.04
1414
env:
1515
CODESPELL_DIRS: 'mne/ doc/ tutorials/ examples/'
1616
CODESPELL_SKIPS: 'doc/auto_*,*.fif,*.eve,*.gz,*.tgz,*.zip,*.mat,*.stc,*.label,*.w,*.bz2,*.annot,*.sulc,*.log,*.local-copy,*.orig_avg,*.inflated_avg,*.gii,*.pyc,*.doctree,*.pickle,*.inv,*.png,*.edf,*.touch,*.thickness,*.nofix,*.volume,*.defect_borders,*.mgh,lh.*,rh.*,COR-*,FreeSurferColorLUT.txt,*.examples,.xdebug_mris_calc,bad.segments,BadChannels,*.hist,empty_file,*.orig,*.js,*.map,*.ipynb,searchindex.dat,install_mne_c.rst,plot_*.rst,*.rst.txt,c_EULA.rst*,*.html,gdf_encodes.txt,*.svg'

.github/workflows/compat_minimal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
job:
1313
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
1414
name: 'py3.7'
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-20.04
1616
defaults:
1717
run:
1818
shell: bash

.github/workflows/compat_old.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
job:
1313
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
1414
name: 'py3.6'
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-18.04
1616
defaults:
1717
run:
1818
shell: bash

.github/workflows/linux_conda.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,22 @@ jobs:
1212
job:
1313
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
1414
name: 'py3.8'
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-20.04
1616
defaults:
1717
run:
1818
shell: bash
1919
env:
2020
CONDA_ENV: 'environment.yml'
2121
DISPLAY: ':99.0'
2222
MNE_LOGGING_LEVEL: 'warning'
23-
OPENBLAS_NUM_THREADS: '1'
23+
MKL_NUM_THREADS: '1'
2424
PYTHONUNBUFFERED: '1'
2525
PYTHON_VERSION: '3.8'
2626
steps:
2727
- uses: actions/checkout@v2
2828
with:
2929
fetch-depth: 0
30-
- run: |
31-
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0
32-
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset;
30+
- run: ./tools/setup_xvfb.sh
3331
name: 'Setup xvfb'
3432
- uses: conda-incubator/setup-miniconda@v2
3533
with:

.github/workflows/linux_pip.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
# PIP + non-default stim channel + log level info
1212
job:
1313
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
14-
name: 'py3.8'
15-
runs-on: ubuntu-latest
14+
name: 'py3.9'
15+
runs-on: ubuntu-20.04
1616
defaults:
1717
run:
1818
shell: bash
@@ -22,14 +22,12 @@ jobs:
2222
MNE_STIM_CHANNEL: 'STI101'
2323
OPENBLAS_NUM_THREADS: '1'
2424
PYTHONUNBUFFERED: '1'
25-
PYTHON_VERSION: '3.8'
25+
PYTHON_VERSION: '3.9'
2626
steps:
2727
- uses: actions/checkout@v2
2828
with:
2929
fetch-depth: 0
30-
- run: |
31-
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0
32-
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset;
30+
- run: ./tools/setup_xvfb.sh
3331
name: 'Setup xvfb'
3432
- uses: actions/setup-python@v2
3533
with:

README.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
.. -*- mode: rst -*-
22
3-
|Travis|_ |Azure|_ |Circle|_ |Codecov|_ |PyPI|_ |conda-forge|_ |Zenodo|_
3+
|GH-Linux|_ |GH-macOS|_ |Azure|_ |Circle|_ |Codecov|_ |PyPI|_ |conda-forge|_ |Zenodo|_
44

55
|MNE|_
66

7-
.. |Travis| image:: https://api.travis-ci.org/mne-tools/mne-python.svg?branch=master
8-
.. _Travis: https://travis-ci.org/mne-tools/mne-python/branches
7+
.. |GH-Linux| image:: https://github.com/mne-tools/mne-python/workflows/linux%20/%20conda/badge.svg?branch=master
8+
.. _GH-Linux: https://github.com/mne-tools/mne-python/actions?query=branch:master+event:push
9+
10+
.. |GH-macOS| image:: https://github.com/mne-tools/mne-python/workflows/macos%20/%20conda/badge.svg?branch=master
11+
.. _GH-macOS: https://github.com/mne-tools/mne-python/actions?query=branch:master+event:push
912

1013
.. |Azure| image:: https://dev.azure.com/mne-tools/mne-python/_apis/build/status/mne-tools.mne-python?branchName=master
1114
.. _Azure: https://dev.azure.com/mne-tools/mne-python/_build/latest?definitionId=1&branchName=master

azure-pipelines.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ stages:
174174
OPENBLAS_NUM_THREADS: 1
175175
PYTHONUNBUFFERED: 1
176176
PYTHONIOENCODING: 'utf-8'
177-
MKL_NUM_THREADS: 1
178177
AZURE_CI_WINDOWS: 'true'
179178
PYTHON_ARCH: 'x64'
180179
strategy:

doc/changes/latest.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ Enhancements
3535

3636
- Add ``proj`` argument to :func:`mne.make_fixed_length_epochs` (:gh:`8351` by `Eric Larson`_)
3737

38+
- Add :func:`mne.preprocessing.realign_raw` to realign simultaneous raw recordings in the presence of clock drift (:gh:`8539` by `Eric Larson`_)
39+
3840
- Reduce memory usage of volume source spaces (:gh:`8379` by `Eric Larson`_)
3941

4042
- Speed up heavy use of :meth:`mne.SourceMorph.apply` for volumetric source spaces by use of the method :meth:`mne.SourceMorph.compute_vol_morph_mat` (:gh:`8366` by `Eric Larson`_)

doc/python_reference.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ Projections:
381381
oversampled_temporal_projection
382382
peak_finder
383383
read_ica
384+
realign_raw
384385
regress_artifact
385386
corrmap
386387
read_ica_eeglab

0 commit comments

Comments
 (0)