Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
76b1dd7
Do not interpolate bad segments using autoreject before ICA (#816)
hoechenberger Nov 13, 2023
1705142
Omit bad channels when gathering data used for decoding (#817)
hoechenberger Nov 13, 2023
08ee388
[pre-commit.ci] pre-commit autoupdate (#818)
pre-commit-ci[bot] Nov 20, 2023
87a64b1
Allow decoding using epochs at different stages of pre-processing (#819)
hoechenberger Nov 21, 2023
6dd86f9
Prepare for 1.5.0 release (#821)
larsoner Nov 30, 2023
bae0b2e
FIX: PyQt6 (#822)
larsoner Nov 30, 2023
bc6c166
The "Behavior changes" heading was incorrectly commented out in the c…
hoechenberger Dec 7, 2023
cc63122
MAINT: Fix CIs (#824)
larsoner Dec 7, 2023
a6995ab
Switch build backend to hatchling (#825)
hoechenberger Dec 8, 2023
c624a10
[pre-commit.ci] pre-commit autoupdate (#826)
pre-commit-ci[bot] Dec 11, 2023
00daafe
[pre-commit.ci] pre-commit autoupdate (#827)
pre-commit-ci[bot] Dec 18, 2023
885fd15
[pre-commit.ci] pre-commit autoupdate (#828)
pre-commit-ci[bot] Dec 25, 2023
ffab60a
[pre-commit.ci] pre-commit autoupdate (#829)
pre-commit-ci[bot] Jan 8, 2024
9055e9c
[pre-commit.ci] pre-commit autoupdate (#830)
pre-commit-ci[bot] Jan 15, 2024
860c5c4
FIX: Paths and pyarrow (#834)
larsoner Jan 24, 2024
742e27e
MAINT: Test result caching (#836)
larsoner Jan 24, 2024
cc93c66
MAINT: Enable more ruff rules (#838)
larsoner Jan 26, 2024
ce233bd
ENH: Add artifact regression (#837)
larsoner Jan 27, 2024
a65f278
BUG: Fix several bugs (#839)
larsoner Jan 30, 2024
2796d01
[pre-commit.ci] pre-commit autoupdate (#843)
pre-commit-ci[bot] Feb 5, 2024
92be603
ENH: Write out raw data and SSP events (#840)
larsoner Feb 6, 2024
fe56c01
BUG: Fix bug with Maxwell step when find_noise_channels_meg=False (#847)
larsoner Feb 7, 2024
d76abaa
[pre-commit.ci] pre-commit autoupdate (#851)
pre-commit-ci[bot] Feb 13, 2024
9f8b170
BUG: Fix bug with multichannel classification (#853)
larsoner Feb 15, 2024
5d4e3c3
ENH: Better event count rep and noise_cov_method (#854)
larsoner Feb 16, 2024
3c9a22c
BUG: Fix bug with split epochs and ICA (#855)
larsoner Feb 19, 2024
4e6733d
[pre-commit.ci] pre-commit autoupdate (#856)
pre-commit-ci[bot] Feb 20, 2024
61b3553
DOC: Automatic flowchart (#860)
larsoner Feb 26, 2024
e663d93
DOC: Automatically document settings (#863)
larsoner Feb 28, 2024
4c73c2c
add image_kwargs to report (#859)
SophieHerbst Feb 29, 2024
324d4b4
MAINT: Remove datalad (#867)
larsoner Mar 1, 2024
94256f7
ENH: Split ICA into multiple steps (#865)
larsoner Mar 1, 2024
525646a
ENH: Document relevant steps (#866)
larsoner Mar 1, 2024
5a1ef0e
ENH: Doc config in sheet (#869)
larsoner Mar 1, 2024
fbee2d1
Fix a typo in the readme (#871)
hoechenberger Mar 3, 2024
022c59b
Enable stricter linting (#872)
hoechenberger Mar 4, 2024
5afe560
Improve logging during cache invalidation (#877)
hoechenberger Mar 7, 2024
b52742e
Update contributing instructions and remove outdated building instruc…
hoechenberger Mar 7, 2024
60e6a54
Fix handling of `analyze_channels` for EEG data, where some steps (li…
hoechenberger Mar 12, 2024
0d2b87a
[pre-commit.ci] pre-commit autoupdate (#885)
pre-commit-ci[bot] Mar 13, 2024
f0f0baf
Remove ancient config parameter `shortest_event` (#888)
hoechenberger Mar 14, 2024
5f046fc
Add missing release dates to changelog (#887)
hoechenberger Mar 14, 2024
04b9fac
Explicitly depend on `annotated-types` (#886)
hoechenberger Mar 14, 2024
1c2a081
MAINT: Check that all options are used (#889)
larsoner Mar 14, 2024
45e4c13
BUG: Fix bug with CSP computation and Maxwell filter (#890)
larsoner Mar 15, 2024
541eb9b
[pre-commit.ci] pre-commit autoupdate (#891)
pre-commit-ci[bot] Mar 18, 2024
313dc18
MAINT: Print longer traceback on report error (#892)
larsoner Mar 20, 2024
06d2bb9
Set up Dependabot to automatically keep GitHub Actions up-to-date (#893)
hoechenberger Mar 20, 2024
d770879
[dependabot]: Bump actions/setup-python from 4 to 5 (#894)
dependabot[bot] Mar 20, 2024
8f23780
[dependabot]: Bump actions/download-artifact from 3 to 4 (#895)
dependabot[bot] Mar 20, 2024
90baed9
[dependabot]: Bump actions/upload-artifact from 3 to 4 (#896)
dependabot[bot] Mar 20, 2024
71f9f18
[dependabot]: Bump codecov/codecov-action from 3 to 4 (#898)
dependabot[bot] Mar 20, 2024
be6850a
[dependabot]: Bump actions/checkout from 3 to 4 (#897)
dependabot[bot] Mar 20, 2024
8e5546f
add n sbs to report (#902)
SophieHerbst Mar 25, 2024
ed5939a
[pre-commit.ci] pre-commit autoupdate (#903)
pre-commit-ci[bot] Mar 25, 2024
96251a8
Drop support for Python 3.9, drop `Optional` and `Union` from type hi…
hoechenberger Mar 28, 2024
f74d9eb
Render type annotations in the documentation again (#909)
hoechenberger Mar 28, 2024
59d83fa
MAINT: Ensure input changes cause output changes (#904)
larsoner Mar 28, 2024
8cc0754
Add number of subjects to grand-average report (cont'd) (#910)
SophieHerbst Mar 29, 2024
9706946
Do not show `Annotated` types in configuration options documentation …
hoechenberger Mar 29, 2024
635b49a
Try to fix documentation deployment (#913)
hoechenberger Mar 29, 2024
00d390c
Restructure configuration options documentation sections (#914)
hoechenberger Mar 30, 2024
d8c1e4b
[pre-commit.ci] pre-commit autoupdate (#917)
pre-commit-ci[bot] Apr 2, 2024
3eccc1d
enhance documentation of caching, continuation of #914 (#918)
SophieHerbst Apr 2, 2024
6288770
Improve documentation and config validation of `loose` and `depth` pa…
hoechenberger Apr 2, 2024
cbeeb98
change default for info to use for inverse #905 (#919)
SophieHerbst Apr 2, 2024
856dfe2
ENH: Streamline ICA reporting (#899)
larsoner Apr 16, 2024
79e19c1
[pre-commit.ci] pre-commit autoupdate (#923)
pre-commit-ci[bot] Apr 16, 2024
148a785
Support variable time windows for epochs metadata creation (#874)
hoechenberger Apr 22, 2024
04331fa
Raise a more helpful error message when requested subjects are missin…
hoechenberger Apr 22, 2024
a46c980
[pre-commit.ci] pre-commit autoupdate (#929)
pre-commit-ci[bot] Apr 23, 2024
a52c00c
Fix report section on original raw data (didn't contain bad channels …
hoechenberger Apr 23, 2024
ec1c8fd
In the report TOC, don't put the run numbers in quotation marks (#933)
hoechenberger Apr 23, 2024
b80ed31
Rename `ica_ctps_ecg_threshold` to `ica_ecg_threshold` (#935)
hoechenberger Apr 24, 2024
4d3a878
Improve logging output when rejecting epochs; and log number of recon…
hoechenberger Apr 24, 2024
afdf160
Save ECG and EOG evokeds created during ICA artifact detection to dis…
hoechenberger Apr 24, 2024
7e1d9f9
Improve logging during ICA artifact discovery and rejection (#937)
hoechenberger Apr 24, 2024
44a884f
DOC: Fix typo (#940)
larsoner Apr 26, 2024
31ee24e
[pre-commit.ci] pre-commit autoupdate (#942)
pre-commit-ci[bot] Apr 29, 2024
88b3e4f
[pre-commit.ci] pre-commit autoupdate (#945)
pre-commit-ci[bot] May 6, 2024
2872b98
MAINT: Cleaner hook into mkdocstrings-python (#943)
larsoner May 7, 2024
87be595
[pre-commit.ci] pre-commit autoupdate (#947)
pre-commit-ci[bot] May 13, 2024
0a87002
remove ref-names from .git_archival.txt (#948)
sappelhoff May 14, 2024
fafdaeb
MAINT: Cleaner traceback on error (#951)
larsoner May 28, 2024
22192a6
[pre-commit.ci] pre-commit autoupdate (#953)
pre-commit-ci[bot] May 28, 2024
3f012ff
[pre-commit.ci] pre-commit autoupdate (#954)
pre-commit-ci[bot] Jun 3, 2024
e06956f
[pre-commit.ci] pre-commit autoupdate (#955)
pre-commit-ci[bot] Jun 10, 2024
31f408b
[MAINT] Switch to trusted publishing (#957)
tsbinns Jun 12, 2024
6598017
[pre-commit.ci] pre-commit autoupdate (#959)
pre-commit-ci[bot] Jun 18, 2024
65e1aa6
Rework how we apply EEG montages (#960)
hoechenberger Jun 21, 2024
62fd351
[pre-commit.ci] pre-commit autoupdate (#961)
pre-commit-ci[bot] Jun 25, 2024
53031d8
[pre-commit.ci] pre-commit autoupdate (#962)
pre-commit-ci[bot] Jul 2, 2024
710e8fb
[pre-commit.ci] pre-commit autoupdate (#963)
pre-commit-ci[bot] Jul 8, 2024
41e641e
[pre-commit.ci] pre-commit autoupdate (#966)
pre-commit-ci[bot] Jul 15, 2024
7bbec62
fix split strings (presumably from autoformatter) (#965)
drammock Jul 22, 2024
0521bfe
[pre-commit.ci] pre-commit autoupdate (#968)
pre-commit-ci[bot] Jul 22, 2024
aeba4a0
Switch to absolute imports and ensure the Ruff (linter and formatter)…
hoechenberger Jul 25, 2024
ef57244
MAINT: Use Python CircleCI image (#970)
larsoner Jul 26, 2024
2e9a619
[pre-commit.ci] pre-commit autoupdate (#975)
pre-commit-ci[bot] Jul 30, 2024
b2b703c
Choose documentation color scheme automatically based on operating sy…
hoechenberger Jul 31, 2024
fac657a
Be stricter when building documentation (#980)
hoechenberger Jul 31, 2024
ea5545d
don't fail if emptyroom is missing cHPI channels (#977)
drammock Jul 31, 2024
9e256fb
allow emptyroom match to vary by session (#976)
drammock Jul 31, 2024
11dad58
Vendor external JavaScript with our documentation to better preserve …
hoechenberger Aug 1, 2024
a0fc509
[pre-commit.ci] pre-commit autoupdate (#983)
pre-commit-ci[bot] Aug 5, 2024
acc8e98
[pre-commit.ci] pre-commit autoupdate (#984)
pre-commit-ci[bot] Aug 12, 2024
5c7198e
[pre-commit.ci] pre-commit autoupdate (#986)
pre-commit-ci[bot] Aug 19, 2024
8b9328a
[pre-commit.ci] pre-commit autoupdate (#988)
pre-commit-ci[bot] Aug 26, 2024
61f2961
[pre-commit.ci] pre-commit autoupdate (#990)
pre-commit-ci[bot] Sep 3, 2024
553e818
clarify maxfilter log message (#991)
drammock Sep 11, 2024
d54a449
[pre-commit.ci] pre-commit autoupdate (#993)
pre-commit-ci[bot] Sep 11, 2024
65c5b8f
Allow separate MRIs per session (for longitudinal studies) (#987)
drammock Sep 11, 2024
9b35993
[pre-commit.ci] pre-commit autoupdate (#996)
pre-commit-ci[bot] Sep 16, 2024
f9c8177
document need for xvfb/osmesa on headless (#997)
drammock Sep 20, 2024
1ab8e11
[pre-commit.ci] pre-commit autoupdate (#999)
pre-commit-ci[bot] Sep 24, 2024
d4c653c
[pre-commit.ci] pre-commit autoupdate (#1001)
pre-commit-ci[bot] Oct 1, 2024
02cdc20
allow missing sessions (#1000)
drammock Oct 4, 2024
cce897d
[pre-commit.ci] pre-commit autoupdate (#1002)
pre-commit-ci[bot] Oct 8, 2024
094926e
[pre-commit.ci] pre-commit autoupdate (#1006)
pre-commit-ci[bot] Oct 22, 2024
3447017
FIX: noise_cov_method for raw as well (#1010)
larsoner Oct 25, 2024
c6bb948
MAINT: Add and check type hints (#995)
larsoner Oct 26, 2024
dbbbe24
MAINT: Better type checking (#1013)
larsoner Oct 29, 2024
aaab023
BUG: Fix bug with forward creation (#1014)
larsoner Oct 29, 2024
7be104e
MAINT: Dont use continue-on-error (#1015)
larsoner Oct 30, 2024
91b3949
ENH: Full mypy (#1016)
larsoner Oct 31, 2024
65334ce
[pre-commit.ci] pre-commit autoupdate (#1017)
pre-commit-ci[bot] Nov 4, 2024
9ab8472
[pre-commit.ci] pre-commit autoupdate (#1019)
pre-commit-ci[bot] Nov 11, 2024
7ecbdc9
[dependabot]: Bump codecov/codecov-action from 4 to 5 (#1024)
dependabot[bot] Nov 18, 2024
677a148
[pre-commit.ci] pre-commit autoupdate (#1027)
pre-commit-ci[bot] Nov 19, 2024
27f4137
[pre-commit.ci] pre-commit autoupdate (#1029)
pre-commit-ci[bot] Nov 25, 2024
09b50ce
[pre-commit.ci] pre-commit autoupdate (#1030)
pre-commit-ci[bot] Dec 14, 2024
ef9bb49
[pre-commit.ci] pre-commit autoupdate (#1031)
pre-commit-ci[bot] Dec 16, 2024
c43df35
[pre-commit.ci] pre-commit autoupdate (#1033)
pre-commit-ci[bot] Dec 26, 2024
9d2548b
[pre-commit.ci] pre-commit autoupdate (#1034)
pre-commit-ci[bot] Jan 6, 2025
8a43ede
[pre-commit.ci] pre-commit autoupdate (#1037)
pre-commit-ci[bot] Jan 14, 2025
8408697
add config for passing extra kwargs to maxwell_filter (#1038)
drammock Jan 16, 2025
1427c5f
remove EEG channels from emptyroom when preparing it for maxwell filt…
drammock Jan 17, 2025
f592be7
[pre-commit.ci] pre-commit autoupdate (#1042)
pre-commit-ci[bot] Jan 20, 2025
dd1f025
validate extra_config (#1044)
drammock Jan 24, 2025
284a905
fix ignoring sessions that have no data (#1035)
drammock Jan 24, 2025
3e1f3c0
[pre-commit.ci] pre-commit autoupdate (#1046)
pre-commit-ci[bot] Jan 27, 2025
1bdf902
add funloc dataset (#1045)
drammock Jan 28, 2025
f344da7
Improve (and test) support for session-specific MRIs (#1039)
drammock Feb 3, 2025
a92d0a2
[pre-commit.ci] pre-commit autoupdate (#1049)
pre-commit-ci[bot] Feb 3, 2025
fe63ba2
[pre-commit.ci] pre-commit autoupdate (#1050)
pre-commit-ci[bot] Feb 10, 2025
3564641
add framework for TWA head pos as MF destination (#1043)
drammock Feb 19, 2025
c9b79e0
Added implementation of zapline for power noise removal (#1032)
ariguiba Feb 19, 2025
3bfc75b
fix config example in docs (#1054)
drammock Feb 19, 2025
9111ee1
MAINT: Refactor and document CIs better (#1053)
larsoner Feb 19, 2025
63d2286
fixup for TWA-HP (gh1043) (#1055)
drammock Feb 19, 2025
58f4b76
raise error if loaded SourceSpaces has unexpected subject (#1056)
drammock Feb 24, 2025
f517982
[pre-commit.ci] pre-commit autoupdate (#1060)
pre-commit-ci[bot] Feb 25, 2025
30c7798
allow calibration and ctc files to be None (#1057)
harrisonritz Feb 26, 2025
bc2070a
allow dict for ssp_ecg_channel (#1062)
drammock Mar 3, 2025
650c263
[pre-commit.ci] pre-commit autoupdate (#1065)
pre-commit-ci[bot] Mar 3, 2025
959b99d
extra keyword arguments to `find_bad_channels_maxwell`, `notch_filter…
harrisonritz Mar 4, 2025
6d7491c
intersphinx (#1066)
drammock Mar 6, 2025
b995b51
[pre-commit.ci] pre-commit autoupdate (#1070)
pre-commit-ci[bot] Mar 10, 2025
6005b52
[pre-commit.ci] pre-commit autoupdate (#1072)
pre-commit-ci[bot] Mar 17, 2025
e985c8e
make late pipeline steps robust to missing sessions (#1067)
drammock Mar 22, 2025
45960d5
Drop `Raw.pick_types` and `Epochs.pick_types` (#1073)
PierreGtch Mar 24, 2025
0486b6a
[pre-commit.ci] pre-commit autoupdate (#1075)
pre-commit-ci[bot] Mar 24, 2025
75e100e
fixup generation of template config files (#1074)
drammock Mar 29, 2025
ed6db89
avoid backslash in fstring and frontload fsaverage download (#1078)
drammock Apr 6, 2025
172b932
[pre-commit.ci] pre-commit autoupdate (#1080)
pre-commit-ci[bot] Apr 7, 2025
75ea23f
Properly compute rank (#1069)
harrisonritz Apr 7, 2025
a51401f
[pre-commit.ci] pre-commit autoupdate (#1082)
pre-commit-ci[bot] Apr 14, 2025
12ce785
[pre-commit.ci] pre-commit autoupdate (#1084)
pre-commit-ci[bot] Apr 21, 2025
ca16aaf
[pre-commit.ci] pre-commit autoupdate (#1085)
pre-commit-ci[bot] Apr 28, 2025
5bde48f
[pre-commit.ci] pre-commit autoupdate (#1087)
pre-commit-ci[bot] May 6, 2025
7b40250
[pre-commit.ci] pre-commit autoupdate (#1089)
pre-commit-ci[bot] May 19, 2025
ee43804
[pre-commit.ci] pre-commit autoupdate (#1090)
pre-commit-ci[bot] May 26, 2025
3e344fa
[pre-commit.ci] pre-commit autoupdate (#1091)
pre-commit-ci[bot] Jun 3, 2025
fbabed1
[pre-commit.ci] pre-commit autoupdate (#1093)
pre-commit-ci[bot] Jun 9, 2025
ac07897
fix mf_int_order; add mf_ext_order (#1092)
harrisonritz Jun 10, 2025
d81dc4b
Custom metadata (#1088)
harrisonritz Jun 11, 2025
40c0209
[pre-commit.ci] pre-commit autoupdate (#1095)
pre-commit-ci[bot] Jun 23, 2025
9c36886
[pre-commit.ci] pre-commit autoupdate (#1096)
pre-commit-ci[bot] Jun 30, 2025
a5c11fa
[pre-commit.ci] pre-commit autoupdate (#1098)
pre-commit-ci[bot] Jul 7, 2025
950574d
FIX: sanitize tags (#1097)
harrisonritz Jul 10, 2025
dfe65a3
[pre-commit.ci] pre-commit autoupdate (#1099)
pre-commit-ci[bot] Jul 14, 2025
dc81f6c
[pre-commit.ci] pre-commit autoupdate (#1100)
pre-commit-ci[bot] Jul 23, 2025
85cf165
[pre-commit.ci] pre-commit autoupdate (#1101)
pre-commit-ci[bot] Jul 28, 2025
4dd6647
[pre-commit.ci] pre-commit autoupdate (#1103)
pre-commit-ci[bot] Aug 4, 2025
fbab2d1
typo, fixes #1104
drammock Aug 7, 2025
689f298
[dependabot]: Bump actions/download-artifact from 4 to 5 (#1107)
dependabot[bot] Aug 11, 2025
ab8f0f4
[pre-commit.ci] pre-commit autoupdate (#1108)
pre-commit-ci[bot] Aug 11, 2025
b8f2446
[dependabot]: Bump actions/checkout from 4 to 5 (#1109)
dependabot[bot] Aug 18, 2025
030f754
[pre-commit.ci] pre-commit autoupdate (#1110)
pre-commit-ci[bot] Aug 20, 2025
4e423d8
[pre-commit.ci] pre-commit autoupdate (#1111)
pre-commit-ci[bot] Aug 25, 2025
24b4cf0
[pre-commit.ci] pre-commit autoupdate (#1112)
pre-commit-ci[bot] Sep 3, 2025
329fb0d
[dependabot]: Bump actions/setup-python from 5 to 6 (#1113)
dependabot[bot] Sep 8, 2025
79c2d6a
[pre-commit.ci] pre-commit autoupdate (#1114)
pre-commit-ci[bot] Sep 8, 2025
1e6a8c6
[pre-commit.ci] pre-commit autoupdate (#1115)
pre-commit-ci[bot] Sep 15, 2025
7cbf447
[pre-commit.ci] pre-commit autoupdate (#1116)
pre-commit-ci[bot] Sep 22, 2025
1f701ff
[pre-commit.ci] pre-commit autoupdate (#1117)
pre-commit-ci[bot] Sep 30, 2025
4388dc9
[pre-commit.ci] pre-commit autoupdate (#1118)
pre-commit-ci[bot] Oct 6, 2025
d24a064
fix config validation bug with ica_l_freq (#1119)
drammock Oct 10, 2025
2aaa81b
Fix osf.io URLs and pre-commit autoupdate (#1120)
pre-commit-ci[bot] Oct 14, 2025
d5d3b02
[pre-commit.ci] pre-commit autoupdate (#1121)
pre-commit-ci[bot] Oct 20, 2025
4c707ea
[dependabot]: Bump actions/upload-artifact from 4 to 5 (#1123)
dependabot[bot] Oct 27, 2025
65e1a66
[dependabot]: Bump actions/download-artifact from 5 to 6 (#1124)
dependabot[bot] Oct 27, 2025
fd73224
[pre-commit.ci] pre-commit autoupdate (#1125)
pre-commit-ci[bot] Oct 27, 2025
86b75ee
[pre-commit.ci] pre-commit autoupdate (#1126)
pre-commit-ci[bot] Nov 4, 2025
3c71234
[pre-commit.ci] pre-commit autoupdate (#1127)
pre-commit-ci[bot] Nov 11, 2025
0227fba
[pre-commit.ci] pre-commit autoupdate (#1128)
pre-commit-ci[bot] Nov 18, 2025
13203d2
MAINT: Automerge and autopush [ci skip]
larsoner Nov 25, 2025
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
152 changes: 136 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ version: 2.1

orbs:
browser-tools: circleci/[email protected]
codecov: codecov/codecov@3.2.4
codecov: codecov/codecov@5.3.0

# Aliases to reuse
_imageconfig: &imageconfig
docker:
- image: cimg/base:2022.10-22.04
- image: cimg/python:3.12.4

# https://circleci.com/docs/workflows/#executing-workflows-for-a-git-tag

Expand Down Expand Up @@ -47,10 +47,11 @@ jobs:
- run:
name: Get Python running
command: |
pip install --upgrade --progress-bar off pip setuptools
pip install --upgrade --progress-bar off "autoreject @ https://api.github.com/repos/autoreject/autoreject/zipball/master" "mne[hdf5] @ git+https://github.com/mne-tools/mne-python@main" "mne-bids[full] @ https://api.github.com/repos/mne-tools/mne-bids/zipball/main" numba
pip install --upgrade --progress-bar off pip
# TODO: Restore https://api.github.com/repos/mne-tools/mne-bids/zipball/main pending https://github.com/mne-tools/mne-bids/pull/1349/files#r1885104885
pip install --upgrade --progress-bar off "autoreject @ https://api.github.com/repos/autoreject/autoreject/zipball/master" "mne[hdf5] @ git+https://github.com/mne-tools/mne-python@main" "mne-bids[full] @ git+https://github.com/mne-tools/mne-bids@main" numba
pip install -ve .[tests]
pip install PyQt6
pip install "PyQt6!=6.6.1" "PyQt6-Qt6!=6.6.1,!=6.6.2,!=6.6.3,!=6.7.0"
- run:
name: Check Qt
command: |
Expand All @@ -67,7 +68,7 @@ jobs:
- project
- mne_data
- minimal_cmds
- python_env
- .pyenv

cache_ds000117:
<<: *imageconfig
Expand All @@ -76,15 +77,15 @@ jobs:
at: ~/
- restore_cache:
keys:
- data-cache-ds000117-2
- data-cache-ds000117-3
- bash_env
- run:
name: Get ds000117
command: |
$DOWNLOAD_DATA ds000117
- codecov/upload
- save_cache:
key: data-cache-ds000117-2
key: data-cache-ds000117-3
paths:
- ~/mne_data/ds000117

Expand Down Expand Up @@ -151,15 +152,15 @@ jobs:
at: ~/
- restore_cache:
keys:
- data-cache-ds000246-2
- data-cache-ds000246-3
- bash_env
- run:
name: Get ds000246
command: |
$DOWNLOAD_DATA ds000246
- codecov/upload
- save_cache:
key: data-cache-ds000246-2
key: data-cache-ds000246-3
paths:
- ~/mne_data/ds000246

Expand All @@ -170,15 +171,15 @@ jobs:
at: ~/
- restore_cache:
keys:
- data-cache-ds000247-2
- data-cache-ds000247-3
- bash_env
- run:
name: Get ds000247
command: |
$DOWNLOAD_DATA ds000247
- codecov/upload
- save_cache:
key: data-cache-ds000247-2
key: data-cache-ds000247-3
paths:
- ~/mne_data/ds000247

Expand Down Expand Up @@ -286,7 +287,6 @@ jobs:
keys:
- data-cache-eeg_matchingpennies-1
- bash_env
- gitconfig # email address is needed for datalad
- run:
name: Get eeg_matchingpennies
command: |
Expand All @@ -297,6 +297,44 @@ jobs:
paths:
- ~/mne_data/eeg_matchingpennies

cache_MNE-funloc-data:
<<: *imageconfig
steps:
- attach_workspace:
at: ~/
- restore_cache:
keys:
- data-cache-MNE-funloc-data-5
- bash_env
- run:
name: Get MNE-funloc-data
command: |
$DOWNLOAD_DATA MNE-funloc-data
- codecov/upload
- save_cache:
key: data-cache-MNE-funloc-data-5
paths:
- ~/mne_data/MNE-funloc-data

cache_MNE-phantom-KIT-data:
<<: *imageconfig
steps:
- attach_workspace:
at: ~/
- restore_cache:
keys:
- data-cache-MNE-phantom-KIT-data-1
- bash_env
- run:
name: Get MNE-phantom-KIT-data
command: |
$DOWNLOAD_DATA MNE-phantom-KIT-data
- codecov/upload
- save_cache:
key: data-cache-MNE-phantom-KIT-data-1
paths:
- ~/mne_data/MNE-phantom-KIT-data

cache_ERP_CORE:
<<: *imageconfig
steps:
Expand Down Expand Up @@ -324,7 +362,7 @@ jobs:
- bash_env
- restore_cache:
keys:
- data-cache-ds000117-2
- data-cache-ds000117-3
- run:
name: test ds000117
command: $RUN_TESTS ds000117
Expand Down Expand Up @@ -429,7 +467,7 @@ jobs:
- bash_env
- restore_cache:
keys:
- data-cache-ds000246-2
- data-cache-ds000246-3
- run:
name: test ds000246
no_output_timeout: 15m
Expand Down Expand Up @@ -457,7 +495,7 @@ jobs:
- bash_env
- restore_cache:
keys:
- data-cache-ds000247-2
- data-cache-ds000247-3
- run:
name: test ds000247
command: $RUN_TESTS ds000247
Expand Down Expand Up @@ -741,6 +779,7 @@ jobs:

test_eeg_matchingpennies:
<<: *imageconfig
resource_class: large # memory for zapline
steps:
- attach_workspace:
at: ~/
Expand All @@ -765,6 +804,59 @@ jobs:
paths:
- mne_data/derivatives/mne-bids-pipeline/eeg_matchingpennies/*/*/*.html

test_MNE-funloc-data:
<<: *imageconfig
resource_class: large
steps:
- attach_workspace:
at: ~/
- bash_env
- restore_cache:
keys:
- data-cache-MNE-funloc-data-5
- run:
name: test MNE-funloc-data
command: $RUN_TESTS MNE-funloc-data
- codecov/upload
- store_test_results:
path: ./test-results
- store_artifacts:
path: ./test-results
destination: test-results
- store_artifacts:
path: /home/circleci/reports/MNE-funloc-data
destination: reports/MNE-funloc-data
- persist_to_workspace:
root: ~/
paths:
- mne_data/derivatives/mne-bids-pipeline/MNE-funloc-data/*/*/*.html

test_MNE-phantom-KIT-data:
<<: *imageconfig
steps:
- attach_workspace:
at: ~/
- bash_env
- restore_cache:
keys:
- data-cache-MNE-phantom-KIT-data-1
- run:
name: test MNE-phantom-KIT-data
command: $RUN_TESTS MNE-phantom-KIT-data
- codecov/upload
- store_test_results:
path: ./test-results
- store_artifacts:
path: ./test-results
destination: test-results
- store_artifacts:
path: /home/circleci/reports/MNE-phantom-KIT-data
destination: reports/MNE-phantom-KIT-data
- persist_to_workspace:
root: ~/
paths:
- mne_data/derivatives/mne-bids-pipeline/MNE-phantom-KIT-data/*/*/*.html

test_ERP_CORE_N400:
<<: *imageconfig
resource_class: large
Expand Down Expand Up @@ -986,6 +1078,10 @@ jobs:
- attach_workspace:
at: ~/
- bash_env
- run:
name: Install dependencies
command: |
pip install -ve .[docs]
- run:
name: Build documentation
command: |
Expand Down Expand Up @@ -1014,6 +1110,10 @@ jobs:
at: ~/
- bash_env
- gitconfig
- run:
name: Install dependencies
command: |
pip install -ve .[docs]
- run:
# This is a bit computationally inefficient, but it should be much
# faster to "cp" directly on the machine rather than persist
Expand Down Expand Up @@ -1191,6 +1291,24 @@ workflows:
- cache_eeg_matchingpennies
<<: *filter_tags

- cache_MNE-funloc-data:
requires:
- setup_env
<<: *filter_tags
- test_MNE-funloc-data:
requires:
- cache_MNE-funloc-data
<<: *filter_tags

- cache_MNE-phantom-KIT-data:
requires:
- setup_env
<<: *filter_tags
- test_MNE-phantom-KIT-data:
requires:
- cache_MNE-phantom-KIT-data
<<: *filter_tags

- cache_ERP_CORE:
requires:
- setup_env
Expand Down Expand Up @@ -1242,6 +1360,8 @@ workflows:
- test_ds003392
- test_ds004229
- test_eeg_matchingpennies
- test_MNE-funloc-data
- test_MNE-phantom-KIT-data
- test_ERP_CORE_N400
- test_ERP_CORE_ERN
- test_ERP_CORE_LRP
Expand Down
33 changes: 33 additions & 0 deletions .circleci/remove_examples.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash

set -eo pipefail

VER=$1
if [ -z "$VER" ]; then
echo "Usage: $0 <version>"
exit 1
fi
ROOT="$PWD/$VER/examples/"
if [ ! -d ${ROOT} ]; then
echo "Version directory does not exist or appears incorrect:"
echo
echo "$ROOT"
echo
echo "Are you on the gh-pages branch and is the ds000117 directory present?"
exit 1
fi
if [ ! -d ${ROOT}ds000117 ]; then
echo "Directory does not exist:"
echo
echo "${ROOT}ds000117"
echo
echo "Assuming already pruned and exiting."
exit 0
fi
echo "Pruning examples in ${ROOT} ..."

find $ROOT -type d -name "*" | tail -n +2 | xargs rm -Rf
find $ROOT -name "*.html" -exec sed -i /^\<h2\ id=\"generated-output\"\>Generated/,/^\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $/{d} {} \;
find $ROOT -name "*.html" -exec sed -i '/^ <a href="#generated-output"/,/^ <\/a>$/{d}' {} \;

echo "Done"
17 changes: 12 additions & 5 deletions .circleci/run_dataset_and_copy_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,32 @@ else
fi

SECONDS=0
EMPH="\e[35m\e[1m" # bold magenta foreground
RESET="\e[0m"
pytest mne_bids_pipeline --junit-xml=test-results/junit-results.xml -k ${DS_RUN}
echo "Runtime: ${SECONDS} seconds"
# Add emphasis and echo
echo -e "${EMPH}Clean test runtime: ${SECONDS} seconds${RESET}"
echo

# rerun test (check caching)!
SECONDS=0
RERUN_LIMIT=60
if [[ "$RERUN_TEST" == "false" ]]; then
echo "Skipping rerun test"
echo -e "${EMPH}Skipping cache rerun test${RESET}"
RUN_TIME=0
else
pytest mne_bids_pipeline --cov-append -k $DS_RUN
RUN_TIME=$SECONDS
echo "Runtime: ${RUN_TIME} seconds (should be < 20)"
echo -e "${EMPH}Cached test runtime: ${RUN_TIME} seconds (should be <= $RERUN_LIMIT)${RESET}"
fi
test $RUN_TIME -lt 20
test $RUN_TIME -le $RERUN_LIMIT

if [[ "$COPY_FILES" == "false" ]]; then
echo "Not copying files"
echo -e "${EMPH}Not copying files${RESET}"
exit 0
fi
echo
echo -e "${EMPH}Copying files${RESET}"
mkdir -p ~/reports/${DS}
# these should always exist
cp -av ~/mne_data/derivatives/mne-bids-pipeline/${DS}/*/**/*.html ~/reports/${DS}/
Expand Down
Loading