Skip to content

Commit

Permalink
Cancel workflow invocations when histories are deleted.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Sep 8, 2017
1 parent 508fdb9 commit 1b3b064
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/galaxy/workflow/run.py
Expand Up @@ -156,6 +156,10 @@ def invoke(self):
# invocations.
return self.progress.outputs

if workflow_invocation.history.deleted:
log.info("Cacelled workflow evaluation due to delted history")
raise modules.CancelWorkflowEvaluation()

remaining_steps = self.progress.remaining_steps()
delayed_steps = False
for step in remaining_steps:
Expand Down

0 comments on commit 1b3b064

Please sign in to comment.