Skip to content

Commit 2aa601a

Browse files
authored
Merge pull request #69 from microbiomedata/788-add-staging-error-check
add error check for task stage
2 parents 6f235b7 + 823f5d0 commit 2aa601a

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

mbin_nmdc.wdl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,9 @@ task stage {
320320
fail "Staged map file is empty."
321321
fi
322322
fi
323+
if grep -q "ERROR" stderr; then
324+
fail "Staging task has Error. Please check the $PWD/stderr and make sure there are no incomplete/partial files."
325+
fi
323326
date --iso-8601=seconds > start.txt
324327
325328
>>>

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.3.13
1+
v1.3.14

0 commit comments

Comments
 (0)