Skip to content

Commit

Permalink
FIX: Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Dec 18, 2024
1 parent dcf5a25 commit a83b79e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ stages:
python -m pip install --progress-bar off --upgrade pip
python -m pip install --progress-bar off --upgrade --pre --only-binary=\"numpy,scipy,matplotlib,vtk\" numpy scipy matplotlib vtk
python -c "import vtk"
# Bug on 2.5.13 https://github.com/openmeeg/openmeeg/issues/700
python -m pip install --progress-bar off --upgrade -ve .[full,test_extra] "openmeeg==2.5.12"
python -m pip install --progress-bar off --upgrade -ve .[full,test_extra]
displayName: 'Install dependencies with pip'
- bash: |
set -e
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies:
- nilearn
- numba
- numpy >=1.23,<3
- openmeeg =2.5.12=*_1
- openmeeg
- packaging
- pandas
- pillow
Expand Down
2 changes: 1 addition & 1 deletion tools/azure_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
STD_ARGS="--progress-bar off --upgrade"
python -m pip install $STD_ARGS pip setuptools wheel
if [ "${TEST_MODE}" == "pip" ]; then
python -m pip install $STD_ARGS --only-binary="numba,llvmlite,numpy,scipy,vtk,dipy,openmeeg" -e .[test,full] "openmeeg==2.5.12"
python -m pip install $STD_ARGS --only-binary="numba,llvmlite,numpy,scipy,vtk,dipy,openmeeg" -e .[test,full]
elif [ "${TEST_MODE}" == "pip-pre" ]; then
${SCRIPT_DIR}/install_pre_requirements.sh
python -m pip install $STD_ARGS --pre -e .[test_extra]
Expand Down
1 change: 0 additions & 1 deletion tools/circleci_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ python -m pip install --upgrade --progress-bar off \
"git+https://github.com/sphinx-gallery/sphinx-gallery.git" \
"git+https://github.com/mne-tools/mne-bids.git" \
\
"openmeeg<2.5.13" \
alphaCSC autoreject bycycle conpy emd fooof meggie \
mne-ari mne-bids-pipeline mne-faster mne-features \
mne-icalabel mne-lsl mne-microstates mne-nirs mne-rsa \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/time-freq/50_ssvep.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def snr_spectrum(psd, noise_n_neighbor_freqs=1, noise_skip_neighbor_freqs=1):
].mean(axis=1)

fig, ax = plt.subplots(1)
ax.boxplot(window_snrs, tick_labels=window_lengths, vert=True)
ax.boxplot(window_snrs, tick_labels=window_lengths, orientation="vertical")
ax.set(
title="Effect of trial duration on 12 Hz SNR",
ylabel="Average SNR",
Expand Down

0 comments on commit a83b79e

Please sign in to comment.