From 7bebb006870660e8cef046154c36493a2b663332 Mon Sep 17 00:00:00 2001 From: Nicholas Tolley Date: Tue, 3 Oct 2023 11:10:09 -0400 Subject: [PATCH] Add nibabel to circleCI install --- .circleci/config.yml | 2 +- examples/workflows/plot_simulate_somato.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 097e346b5..b57e4595d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,7 @@ jobs: conda create -n testenv --yes pip python=3.8 source activate testenv conda install --yes scipy numpy matplotlib - pip install mne pooch tqdm psutil mpi4py joblib + pip install mne pooch tqdm psutil mpi4py joblib nibabel - run: name: Setup doc building stuff diff --git a/examples/workflows/plot_simulate_somato.py b/examples/workflows/plot_simulate_somato.py index d9cdb86c7..14141bfaa 100644 --- a/examples/workflows/plot_simulate_somato.py +++ b/examples/workflows/plot_simulate_somato.py @@ -22,8 +22,9 @@ ############################################################################### # First, we will import the packages needed for computing the inverse solution -# from the MNE somatosensory dataset. `MNE`_ can be installed with -# ``pip install mne``, and the somatosensory dataset can be downloaded by +# from the MNE somatosensory dataset. `MNE`_ (and its dependency `NiBabel`_) +# can be installed with ``pip install mne nibabel`` +# The somatosensory dataset can be downloaded by # importing ``somato`` from ``mne.datasets``. import os.path as op import matplotlib.pyplot as plt @@ -271,6 +272,7 @@ # .. LINKS # # .. _MNE: https://mne.tools/ +# .. _NiBabel: https://nipy.org/nibabel/ # .. _HNN ERP tutorial: https://jonescompneurolab.github.io/hnn-tutorials/erp/erp # .. _this MNE-python example: https://mne.tools/stable/auto_examples/inverse/plot_label_source_activations.html # .. |mne_label_fig| image:: https://user-images.githubusercontent.com/20212206/106524603-cfe75c80-64b0-11eb-9607-3415195c3e7a.png