anchor.diff:  RUN cd $HOME/opt \
     && mkdir moab \
     && cd moab \
  -  && git clone https://bitbucket.org/fathomteam/moab \
  -  && cd moab \
  -  && git checkout -b Version5.2.0 origin/Version5.2.0 \
  -  && autoreconf -fi \
  -  && cd .. \
  +  && git clone --branch Version5.2.0 --single-branch https://bitbucket.org/fathomteam/moab moab \
     && mkdir build \
     && cd build \
     && cmake ../moab/ \
  -              -DCMAKE_INSTALL_PREFIX=$HOME/opt/moab \
  -              -DENABLE_HDF5=ON \
  -              -DBUILD_SHARED_LIBS=ON \
  -              -DENABLE_PYMOAB=ON \
  -              -DENABLE_BLASLAPACK=OFF \
  -              -DENABLE_FORTRAN=OFF \
  +            -DCMAKE_INSTALL_PREFIX=$HOME/opt/moab \
  +            -DENABLE_HDF5=ON \
  +            -DBUILD_SHARED_LIBS=ON \
  +            -DENABLE_PYMOAB=ON \
  +            -DENABLE_BLASLAPACK=OFF \
  +            -DENABLE_FORTRAN=OFF \
     && make \
     && make install \
     && cd .. \
  
positive.code: # put MOAB on the path
  ENV LD_LIBRARY_PATH $HOME/opt/moab/lib:$LD_LIBRARY_PATH
  ENV LIBRARY_PATH $HOME/opt/moab/lib:$LIBRARY_PATH
  ENV PYTHONPATH=$HOME/opt/moab/lib/python2.7/site-packages/
  
  RUN cd /root \
      && git clone https://github.com/svalinn/DAGMC.git \
      && cd DAGMC \
      && git checkout develop \
      && mkdir bld \
      && cd bld \
      && cmake .. -DMOAB_DIR=$HOME/opt/moab \
                -DBUILD_STATIC_LIBS=OFF \
                -DCMAKE_INSTALL_PREFIX=$HOME/opt/dagmc \
      && make \
      && make install \
      && cd ../.. \
      && rm -rf DAGMC
  
  
  # Install PyNE
  
negative.code: RUN cd $HOME && nuc_data_make
  
  RUN cd $HOME/opt/pyne/tests \
      && ./travis-run-tests.sh python3 \
      && echo "PyNE build complete. PyNE can be rebuilt with the alias 'build_pyne' executed from $HOME/opt/pyne"
  