set -e # # run normal mode # echo '' $NXF_RUN | tee stdout [[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > perlTask'` == 1 ]] || false [[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > pyTask'` == 1 ]] || false # # RESUME mode # echo '' $NXF_RUN -resume | tee stdout [[ `grep 'INFO' .nextflow.log | grep -c 'Cached process > perlTask'` == 1 ]] || false [[ `grep 'INFO' .nextflow.log | grep -c 'Cached process > pyTask'` == 1 ]] || false