anchor.diff:      libs_path=/usr/lib/x86_64-linux-gnu && \
       if [ -f $libs_path/libgsl.so.19 ]; then \
              ln $libs_path/libgsl.so.19 $libs_path/libgsl.so.0; \
  -    fi && \
  -    echo "Install libxp (not in all ubuntu/debian repositories)" && \
  +    fi
  +
  +RUN echo "Install libxp (not in all ubuntu/debian repositories)" && \
       apt-get install -yq --no-install-recommends libxp6 \
       || /bin/bash -c " \
          curl --retry 5 -o /tmp/libxp6.deb -sSL \
  
positive.code: #--------NDMG SETUP-----------------------------------------------------------#
  # setup of python dependencies for ndmg itself, as well as file dependencies
  RUN \
      pip install numpy==1.12.1 networkx>=1.11 nibabel>=2.0 dipy>=0.1 scipy \
      python-dateutil==2.6.1 boto3 awscli matplotlib==1.5.3 plotly==1.12.1 nilearn>=0.2 sklearn>=0.0 \
      pandas cython
  
  RUN \
      git clone -b m3r-release $NDMG_URL /ndmg && \
      cd /ndmg && \
      python setup.py install 
  
  
negative.code: 
  #--------Initial Configuration-----------------------------------------------#
  # download/install basic dependencies, and set up python
  RUN apt-get update && \
      apt-get install -y zip unzip vim git curl libglu1 python-setuptools zlib1g-dev \
      git libpng-dev libfreetype6-dev pkg-config g++ vim r-base-core libgsl0-dev build-essential \
      openssl
  
  # upgrade python to solve TLS issues
  RUN apt-get update && \
      apt-get install -y software-properties-common && \
      apt-get update && \
      add-apt-repository ppa:jonathonf/python-2.7 && \
      apt-get update && \
      apt-get install -y python2.7 python2.7-dev
  
  RUN wget https://bootstrap.pypa.io/get-pip.py && \
      python get-pip.py
  
  RUN pip install --upgrade pip
  
  #---------AFNI INSTALL--------------------------------------------------------#
  # setup of AFNI, which provides robust modifications of many of neuroimaging
  