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:        curl -o /tmp/libpng12.deb -sSL $LIBPNG_URL \
         && dpkg -i /tmp/libpng12.deb && rm -f /tmp/libpng12.deb" && \
      apt-get clean && \
      rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
      mkdir -p /opt/afni && \
      curl -o afni.tar.gz -sSLO "$AFNI_URL" && \
      tar zxv -C /opt/afni --strip-components=1 -f afni.tar.gz && \
      rm -rf afni.tar.gz
  
negative.code: #--------NDMG SETUP-----------------------------------------------------------#
  # setup of python dependencies for ndmg itself, as well as file dependencies
  RUN \
      pip install numpy networkx>=1.11 nibabel>=2.0 dipy>=0.1 scipy \
      python-dateutil==2.6.1 boto3 awscli matplotlib==1.5.3 plotly==1.12.9 nilearn>=0.2 sklearn>=0.0 \
      pandas cython pyvtk awscli requests==2.5.3 scikit-image pybids
  
  RUN \
      git clone -b merge-dmri-fmri $NDMG_URL /ndmg && \
      cd /ndmg && \
      python setup.py install 
  
  