Skip to content

Commit

Permalink
ENH: Make SGEGraph only submit jobs that need running.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmjohnson committed Sep 20, 2020
1 parent 36d83d0 commit d48878d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AutoWorkup/BAW/workflows/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ def run_workflow(workflow, plugin="Linear", plugin_args=OrderedDict()):
for key, value in list(workflow.config["execution"].items()):
print("EXECUTE ENV: {0}={1}".format(key, value))
try:
if plugin == "SGEGraph":
plugin_args['dont_resubmit_completed_jobs']= True
print(f"{plugin_args}")
workflow.run(plugin=plugin, plugin_args=plugin_args)
except:
print(("=+-+" * 25))
Expand Down

0 comments on commit d48878d

Please sign in to comment.