[ARVADOS] updated: be5ce81414f6849ce50880bdc629600415d0f604

git at public.curoverse.com git at public.curoverse.com
Mon Sep 8 13:53:43 EDT 2014


Summary of changes:
 sdk/python/arvados/commands/copy.py | 3 +++
 1 file changed, 3 insertions(+)

       via  be5ce81414f6849ce50880bdc629600415d0f604 (commit)
      from  6f793d4da23db743b1833c43ccdc006b9bfe7468 (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 be5ce81414f6849ce50880bdc629600415d0f604
Author: Tim Pierce <twp at curoverse.com>
Date:   Mon Sep 8 13:53:16 2014 -0400

    3699: skip components which have not yet run

diff --git a/sdk/python/arvados/commands/copy.py b/sdk/python/arvados/commands/copy.py
index 8488042..6faac66 100755
--- a/sdk/python/arvados/commands/copy.py
+++ b/sdk/python/arvados/commands/copy.py
@@ -131,6 +131,7 @@ def copy_collection(obj_uuid, src=None, dst=None):
         dst_keep.put(data)
 
     # Copy the manifest and save the collection.
+    logger.debug('saving {} manifest: {}'.format(obj_uuid, manifest))
     dst_keep.put(manifest)
     return dst.collections().create(body={"manifest_text": manifest}).execute()
 
@@ -164,6 +165,8 @@ def copy_pipeline_instance(obj_uuid, src=None, dst=None):
     #
     input_collections = sets.Set()
     for cname in pi['components']:
+        if 'job' not in pi['components'][cname]:
+            continue
         job = pi['components'][cname]['job']
         for dep in job['dependencies']:
             input_collections.add(dep)

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list