Skip to content
Browse files

Made Jobs sharable between executions

Before, running a new workflow would not use jobs from previous workflows, not
even from the same workflow version.  Now jobs exist outside workflow
executions. Combined wit using the original module signature, this makes it
work better as a cache.

  - Jobs now exist outside workflows, but workflows still reference jobs.
  - Renamed modules -> jobs

core/ Modified job manager method names
gui/ Modified job manager method names
  • Loading branch information...
rexissimus committed May 20, 2014
1 parent 7534eba commit 28dbb06f44bc84f844c948d9bfcd443e86406741
Showing with 123 additions and 107 deletions.
  1. +3 −3 vistrails/core/
  2. +114 −97 vistrails/core/interpreter/
  3. +6 −7 vistrails/gui/
@@ -122,7 +122,7 @@ def run_and_get_results(w_list, parameters='', workflow_info=None,
jobMonitor = JobMonitor.getInstance()
current_workflow = jobMonitor.currentWorkflow()
if not current_workflow:
for job in jobMonitor._running_workflows.itervalues():
for job in jobMonitor.workflows.itervalues():
job_version = int(job.version)
except ValueError:
@@ -154,12 +154,12 @@ def run_and_get_results(w_list, parameters='', workflow_info=None,
if update_vistrail:
if current_workflow.modules:
if current_workflow.completed():
run.job = "COMPLETED"
run.job = "RUNNING: %s" %
for job in current_workflow.modules.itervalues():
for job in
if not job.finished:
run.job += "\n %s %s %s" % (job.start,, job.description())
print run.job
Oops, something went wrong.

0 comments on commit 28dbb06

Please sign in to comment.
You can’t perform that action at this time.