Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.37 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.37 KB

ohbm2021-nimare-tutorial

Binder Binder Backup

Materials for the OHBM 2021 NiMARE tutorial

To run this tutorial on Binder

  1. Follow the Binder badge above

  2. Run the notebook

To run this tutorial locally

You must have git, Python >= 3.7, and bash.

  1. Clone this repo by pasting this in a bash terminal:
git clone https://github.com/neurostuff/ohbm2021-nimare-tutorial.git
  1. 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
  1. 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
  1. Open the notebook. Type jupyter notebook in the terminal. When the Jupyter Notebook page opens in your browser, navigate to notebooks/tutorial.ipynb