anchor.diff:          python${PYTHON_VERSION} -c "from notebook.services.config import ConfigManager as C; C().update('notebook', {'ExecuteTime': {'clear_timings_on_clear_output': True}})" && \
           rm -rf /opt/conda${PYTHON_VERSION}/conda-bld/work/* && \
           conda${PYTHON_VERSION} clean -tipsy && \
  +        conda deactivate && \
           rm -rf ~/.conda && \
           rm -rf ~/.cache ; \
       done
  
positive.code:     echo -e "export CORES=2" >> /tmp/test.sh && \
      echo -e "" >> /tmp/test.sh && \
      echo -e "for PYTHON_VERSION in 2 3; do" >> /tmp/test.sh && \
      echo -e "    cd /nanshe_workflow && " >> /tmp/test.sh && \
      echo -e "    python${PYTHON_VERSION} setup.py test && " >> /tmp/test.sh && \
      echo -e "    git clean -fdx && " >> /tmp/test.sh && \
      echo -e "    rm -rf ~/ipcontroller.o* && " >> /tmp/test.sh && \
      echo -e "    rm -rf ~/ipcontroller.e* && " >> /tmp/test.sh && \
      echo -e "    rm -rf ~/ipengine.o* && " >> /tmp/test.sh && \
      echo -e "    rm -rf ~/ipengine.e* ; " >> /tmp/test.sh && \
      echo -e "done" >> /tmp/test.sh && \
      /usr/share/docker/entrypoint.sh \
      /usr/share/docker/entrypoint_2.sh \
  
negative.code: ADD nanshe_workflow /nanshe_workflow
  RUN rm -rf /nanshe_workflow/.git
  ADD .git/modules/nanshe_workflow /nanshe_workflow/.git
  RUN export INSTALL_CONDA_PATH="/opt/conda${PYTHON_VERSION}" && \
      . "${INSTALL_CONDA_PATH}/etc/profile.d/conda.sh" && \
      conda activate base && \
      sed -i.bak "s/..\/..\/..\/nanshe_workflow/../g" /nanshe_workflow/.git/config && \
      rm -f /nanshe_workflow/.git/config.bak && \
      sed -i.bak "/.*worktree = .*/d" /nanshe_workflow/.git/config && \
      rm -f /nanshe_workflow/.git/config.bak && \
      cd /nanshe_workflow && git update-index -q --refresh && cd / && \
      conda deactivate
  
  ADD entrypoint.sh /usr/share/docker/entrypoint_2.sh
  ADD install_workflows.sh /usr/share/docker/install_workflows.sh
  
  RUN for PYTHON_VERSION in 2 3; do \
          export INSTALL_CONDA_PATH="/opt/conda${PYTHON_VERSION}" && \
          . "${INSTALL_CONDA_PATH}/etc/profile.d/conda.sh" && \
          conda activate base && \
          cd /nanshe_workflow && git update-index -q --refresh && cd / && \
          (mv /nanshe_workflow/.git/shallow /nanshe_workflow/.git/shallow-not || true) && \
          conda${PYTHON_VERSION} build /nanshe_workflow/nanshe_workflow.recipe && \
  