gr += edge(uuid, job[:output], {label: "output" })
end
- gr += edge(uuid, job[:log], {label: "log"}) if job[:log] and !edge_opts[:no_log]
+ if job[:log] and !edge_opts[:no_log]
+ gr += describe_node(job[:log])
+ gr += edge(uuid, job[:log], {label: "log"})
+ end
gr
end
label = "#{v[0][:script]}"
- if label == "run-command"
+ if label == "run-command" and v[0][:script_parameters][:command].is_a? Array
label = v[0][:script_parameters][:command].join(' ')
end
end
def encode_quotes value
- value.andand.to_s.gsub("\"", "\\\"").gsub("\n", "\\n")
+ value.to_s.gsub("\"", "\\\"").gsub("\n", "\\n")
end
end
svg = svg.sub(/<svg /, "<svg id=\"#{svgId}\" ")
end
- # returns hash, uuid
+ # yields hash, uuid
+ # Position indicates whether it is a content hash or arvados uuid.
+ # One will hold a value, the other will always be nil.
def self.find_collections(sp, key=nil, &b)
case sp
when ArvadosBase