Materials for the OHBM 2021 NiMARE tutorial
-
Follow the Binder badge above
-
Run the notebook
You must have git, Python >= 3.7, and bash.
- Clone this repo by pasting this in a bash terminal:
git clone https://github.com/neurostuff/ohbm2021-nimare-tutorial.git
- Create a virtual environment with the dependencies needed to run the notebook:
cd ohbm2021-nimare-tutorial
python3 -m venv venv
source venv/bin/activate
pip3 install --upgrade pip3
pip3 install -r binder/requirements.txt
- Download the data:
DIR=$"../data/nimare_tutorial/"
if [ -d "$DIR" ]; then
echo "$DIR exists."
else
mkdir -p $DIR;
pip3 install osfclient
osf -p u9sqa clone $DIR;
echo "Created $DIR and downloaded the data";
fi
- Open the notebook. Type
jupyter notebook
in the terminal. When the Jupyter Notebook page opens in your browser, navigate tonotebooks/tutorial.ipynb