Skip to content

Commit

Permalink
MAINT: Test against pymatreader dev version (mne-tools#12770)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Aug 2, 2024
1 parent 0f6e7d6 commit 0b95d28
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
6 changes: 3 additions & 3 deletions examples/inverse/morph_volume_stc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
(brain) to `FreeSurfer's 'fsaverage' T1 weighted MRI (brain)
<https://surfer.nmr.mgh.harvard.edu/fswiki/FsAverage>`__.
Afterwards the transformation will be applied to the volumetric source
estimate. The result will be plotted, showing the fsaverage T1 weighted
anatomical MRI, overlaid with the morphed volumetric source estimate.
Afterwards the transformation will be applied to the volumetric source estimate. The
result will be plotted, showing the fsaverage T1 weighted anatomical MRI, overlaid with
the morphed volumetric source estimate.
"""
# Author: Tommy Clausner <[email protected]>
#
Expand Down
9 changes: 7 additions & 2 deletions tools/circleci_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/bin/bash -ef

python -m pip install --upgrade "pip!=20.3.0" build
# https://github.com/dipy/dipy/issues/3265 for numpy, dipy
# This can be removed once dipy > 1.9.0 is released
python -m pip install --upgrade --progress-bar off \
numpy scipy h5py
python -m pip install --pre --progress-bar off \
--extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" \
"dipy>1.9"
python -m pip install --upgrade --progress-bar off \
--only-binary "numpy,dipy,scipy,matplotlib,pandas,statsmodels" \
-ve .[full,test,doc] "numpy==1.26.4" "dipy!=1.9.0" \
-ve .[full,test,doc] "numpy>=2" \
"git+https://github.com/larsoner/pyvista.git@refcycle" \
git+https://github.com/sphinx-gallery/sphinx-gallery.git \
\
Expand Down
8 changes: 5 additions & 3 deletions tools/install_pre_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ python -m pip install $STD_ARGS --only-binary ":all:" --default-timeout=60 \
"statsmodels>=0.15.0.dev0" "pandas>=3.0.0.dev0" "matplotlib>=3.10.0.dev0" \
$OTHERS

# Wait for
pip install --pre --upgrade statsmodels

# No Numba because it forces an old NumPy version

if [[ "${PLATFORM}" == "Linux" ]]; then
echo "pymatreader"
pip install https://gitlab.com/obob/pymatreader/-/archive/master/pymatreader-master.zip
fi

echo "OpenMEEG"
python -m pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://test.pypi.org/simple" "openmeeg>=2.6.0.dev4"

Expand Down

0 comments on commit 0b95d28

Please sign in to comment.