Conflicts:
apps/workbench/app/models/proxy_work_unit.rb
end
end
- def parameters
- get(:script_parameters)
- end
-
- def repository
- get(:repository)
- end
-
- def script
- get(:script)
- end
-
- def script_version
- get(:script_version)
- end
-
- def supplied_script_version
- get(:supplied_script_version)
- end
-
- def docker_image
- get(:docker_image_locator)
- end
-
- def nondeterministic
- get(:nondeterministic)
- end
-
- def runtime_constraints
- get(:runtime_constraints)
- end
-
- def priority
- get(:priority)
- end
-
- def log_collection
- get(:log)
- end
-
- def output
- get(:output)
+ def children
+ []
end
- def children
- []
- end
-
+ def outputs
+ items = []
+ children.each do |c|
+ items << c.output if c.output
+ end
+ if !items.any?
+ items << get(:output) if get(:output)
+ end
+ items
+ end
+
def title
"process"
end