share/rbbt_commands/workflow/example in rbbt-util-5.13.6 vs share/rbbt_commands/workflow/example in rbbt-util-5.13.7
- old
+ new
@@ -65,12 +65,12 @@
workflow = Workflow.require_workflow workflow
tasks = task ? [task] : workflow.libdir.examples.glob('*').collect{|file| File.basename file }
task_result = {}
-TSV.traverse tasks, :threads => 5 do |task|
+TSV.traverse tasks do |task|
names = name ? [name] : workflow.libdir.examples[task].glob('*').collect{|file| File.basename file }
- TSV.traverse names, :threads => 5 do |name|
+ TSV.traverse names do |name|
success = run_task workflow, task, name
task_result[[task, name]] = success
end
end