18 lines
260 B
Plaintext
18 lines
260 B
Plaintext
set -e
|
|
|
|
#
|
|
# run normal mode
|
|
#
|
|
echo ''
|
|
$NXF_RUN | tee stdout
|
|
|
|
[[ `< .nextflow.log grep -c 'Submitted process > foo'` == 1 ]] || false
|
|
|
|
|
|
#
|
|
# RESUME mode
|
|
#
|
|
echo ''
|
|
$NXF_RUN -resume | tee stdout
|
|
|
|
[[ `< .nextflow.log grep -c 'Cached process > foo'` == 1 ]] || false |