projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 3219-further-docker-improvements
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
pipeline_instance.rb
diff --git
a/apps/workbench/app/models/pipeline_instance.rb
b/apps/workbench/app/models/pipeline_instance.rb
index 5a88003f8281199547431ca8051eea980c0a9d0f..c3b14755f3fb6f8dbdf77d3630e689797cca8eea 100644
(file)
--- a/
apps/workbench/app/models/pipeline_instance.rb
+++ b/
apps/workbench/app/models/pipeline_instance.rb
@@
-1,10
+1,18
@@
class PipelineInstance < ArvadosBase
attr_accessor :pipeline_template
class PipelineInstance < ArvadosBase
attr_accessor :pipeline_template
- def self.goes_in_
folder
s?
+ def self.goes_in_
project
s?
true
end
true
end
+ def content_summary
+ begin
+ PipelineTemplate.find(pipeline_template_uuid).name
+ rescue
+ super
+ end
+ end
+
def update_job_parameters(new_params)
self.components[:steps].each_with_index do |step, i|
step[:params].each do |param|
def update_job_parameters(new_params)
self.components[:steps].each_with_index do |step, i|
step[:params].each do |param|