[ARVADOS] updated: edfc619e6189c5407d16798c75aaace08a13536d
Git user
git at public.curoverse.com
Wed Apr 26 14:30:13 EDT 2017
Summary of changes:
apps/workbench/app/helpers/provenance_helper.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via edfc619e6189c5407d16798c75aaace08a13536d (commit)
from 88c241d7c4fbfadb951f370bf2706db687adad75 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit edfc619e6189c5407d16798c75aaace08a13536d
Author: Lucas Di Pentima <lucas at curoverse.com>
Date: Wed Apr 26 15:29:20 2017 -0300
10111: Replaced graph edges names: cr->child & mounts->input.
diff --git a/apps/workbench/app/helpers/provenance_helper.rb b/apps/workbench/app/helpers/provenance_helper.rb
index fa58205..44acc18 100644
--- a/apps/workbench/app/helpers/provenance_helper.rb
+++ b/apps/workbench/app/helpers/provenance_helper.rb
@@ -111,7 +111,7 @@ module ProvenanceHelper
# Search for input mounts
input_obj = cr[:mounts].andand[:"/var/lib/cwl/cwl.input.json"].andand[:content] || cr[:mounts] || {}
if input_obj
- ProvenanceHelper::find_collections input_obj, 'mounts' do |col_hash, col_uuid, key|
+ ProvenanceHelper::find_collections input_obj, 'input' do |col_hash, col_uuid, key|
if col_uuid
gr += describe_node(col_uuid)
gr += edge(col_uuid, uuid, {:label => key})
@@ -228,7 +228,7 @@ module ProvenanceHelper
child_crs = ContainerRequest.where(requesting_container_uuid: cr[:container_uuid])
child_crs.each do |child|
gr += generate_provenance_edges(child[:uuid])
- gr += edge(uuid, child[:uuid], {label: 'cr'})
+ gr += edge(uuid, child[:uuid], {label: 'child'})
end
end
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list