anchor.diff:            -DITK_DIR=$SOFT/ants/build/ITKv4-build \
             ../PETPVC && \
       make -j $N_CPUS && \
  -    echo "addpath ${SOFT}/petpvc/build/src" >> $BASHRC
  +    echo "addpath \${SOFT}/petpvc/build/src" >> $BASHRC
   
   #-------------------------------------------------------------------------------
   # Camino (http://camino.cs.ucl.ac.uk/)
  
positive.code: RUN \
      cd $SOFT && \
      git clone $CAMINO_GIT camino && \
      echo "addpath ${SOFT}/camino/bin" >> $BASHRC && \
      echo "source /etc/fsl/5.0/fsl.sh" >> $BASHRC && \
      echo "export FSLPARALLEL=condor"  >> $BASHRC
  
  
negative.code: #-------------------------------------------------------------------------------
  # Python environment with virtualenvwrapper
  #-------------------------------------------------------------------------------
  # Install Python 3 from miniconda
  RUN wget -O miniconda.sh \
    https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
    bash miniconda.sh -b -p $HOME/miniconda && \
    rm miniconda.sh && \
    echo "addpath \$HOME/miniconda/bin" >> $BASHRC && \
  
  # Install matplotlib and scikit-image without Qt
  RUN conda update -y python conda && \
      conda config --add channels conda-forge && \
      conda install -y --no-deps \
  matplotlib \
  cycler \
  freetype \
  libpng \
  pyparsing \
  pytz \
  python-dateutil \
  six \
  pip \
  setuptools \
  && conda clean -tipsy
  
  # RUN conda install -y \
  #   notebook \
  #   ipywidgets \
  #   terminado \
  #   psutil \
  #   numpy \
  #   scipy \
  #   pandas \
  #   bokeh \
  #   scikit-learn \
  #   statsmodels \
  #   scikit-image \
  #   networkx \
  #   pillow \
  #   && conda clean -tipsy
  
  
  # Install the other requirements
  RUN pip install -r $HOME/requirements.txt && rm -rf ~/.cache/pip/
  
  #-------------------------------------------------------------------------------
  # source .bashrc
  