# This creates a conda enviroment to install gradupwarp
#
# To avoid going over quota at teh Martinos, store your conda environments not in your home dir (the default), but somewhere else
# (say your group and you have some space in /space/your_group_dir/your_name: change that to whatever you need).
#
# (If you already have .conda folder in your home folder, move it first to /space/your_group_dir/your_name/conda)
#
mkdir /space/your_group_dir/your_name/conda
ln -s /space/your_group_dir/your_name/conda ~/.conda
# Now create a conda enviroment for python 2.7
conda create --name gradunwrap python=2.7
# Activate the enviroment
source activate gradunwrap
# Install some requirement in your environment (you could use pip instead of conda if any of these two don't work)
conda install numpy scipy
conda install nibabel
# If you haven't yet, download the package from Github and change to the directory you just downloaded
# Install gradunwarp (you don't need any prefix as you are doing this in an environment
python setup.py