Skip to content

Commit 59089c3

Browse files
committed
rerun of course only when failure.
1 parent faeb157 commit 59089c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BRB/PushButton.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ def GetResults(config, project, libraries):
604604
# RELACS needs the unpacified project name to copy the original sample sheet to the dest dir
605605
# hence the pacifier is applied on the project in each pipeline separately
606606
outputDir, rv, sambaUpdate = globals()[pipeline](config, group, project, organism, libraryType, tuples)
607-
if reruncount == 0 and rv == 0:
607+
if reruncount == 0 and rv != 0:
608608
# Allow for one re-run
609609
reruncount += 1
610610
outputDir, rv, sambaUpdate = globals()[pipeline](config, group, project, organism, libraryType, tuples)

0 commit comments

Comments
 (0)