[ARVADOS] updated: 88c241d7c4fbfadb951f370bf2706db687adad75

Git user git at public.curoverse.com
Wed Apr 26 12:29:09 EDT 2017


Summary of changes:
 apps/workbench/app/helpers/provenance_helper.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  88c241d7c4fbfadb951f370bf2706db687adad75 (commit)
      from  260e85a9d9cf2c20313bcf2edb63da57bdd3a69f (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 88c241d7c4fbfadb951f370bf2706db687adad75
Author: Lucas Di Pentima <lucas at curoverse.com>
Date:   Wed Apr 26 13:28:06 2017 -0300

    10111: If there is no cwl.input.json object as part of a CR mount list, search for input PDHs on the entire mount list

diff --git a/apps/workbench/app/helpers/provenance_helper.rb b/apps/workbench/app/helpers/provenance_helper.rb
index 36513b3..fa58205 100644
--- a/apps/workbench/app/helpers/provenance_helper.rb
+++ b/apps/workbench/app/helpers/provenance_helper.rb
@@ -108,7 +108,8 @@ module ProvenanceHelper
       uuid = cr[:uuid]
       gr = ""
 
-      input_obj = cr[:mounts].andand[:"/var/lib/cwl/cwl.input.json"].andand[:content]
+      # 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|
           if col_uuid

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list