projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
6602: remove render_runtime_compact; instead use render_runtime with use_words =...
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
pipeline_instances_controller.rb
diff --git
a/apps/workbench/app/controllers/pipeline_instances_controller.rb
b/apps/workbench/app/controllers/pipeline_instances_controller.rb
index 4a7348a8ec3ec28848a833c8cb43f531c39fafba..c5fbda0cf349177801a0bcbbd75c7c95634b56ef 100644
(file)
--- a/
apps/workbench/app/controllers/pipeline_instances_controller.rb
+++ b/
apps/workbench/app/controllers/pipeline_instances_controller.rb
@@
-295,13
+295,15
@@
class PipelineInstancesController < ApplicationController
@object.components.each do |k, component|
next if !component
component[:script_parameters].andand.each do |p, tv|
@object.components.each do |k, component|
next if !component
component[:script_parameters].andand.each do |p, tv|
- if (tv.is_a? Hash) and (
tv[:dataclass] == "Collection"
)
+ if (tv.is_a? Hash) and (
(tv[:dataclass] == "Collection") || (tv[:dataclass] == "File")
)
if tv[:value]
value = tv[:value]
elsif tv[:default]
value = tv[:default]
if tv[:value]
value = tv[:value]
elsif tv[:default]
value = tv[:default]
+ else
+ value = ''
end
end
- if value
+ if value
.present?
split = value.split '/'
if CollectionsHelper.match(split[0])
input_pdhs << split[0]
split = value.split '/'
if CollectionsHelper.match(split[0])
input_pdhs << split[0]