[ARVADOS] updated: b4c4d4c3229b1f00463968943d6f3f24eaf7b6f9

Git user git at public.curoverse.com
Thu Mar 10 12:45:02 EST 2016


Summary of changes:
 sdk/cwl/arvados_cwl/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  b4c4d4c3229b1f00463968943d6f3f24eaf7b6f9 (commit)
      from  16ed3c023655eba037012eb3e046f0ed333f33b6 (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 b4c4d4c3229b1f00463968943d6f3f24eaf7b6f9
Author: radhika <radhika at curoverse.com>
Date:   Thu Mar 10 12:44:22 2016 -0500

    8558: when cores not found in resources, use default.

diff --git a/sdk/cwl/arvados_cwl/__init__.py b/sdk/cwl/arvados_cwl/__init__.py
index fbbbdee..0067bd5 100644
--- a/sdk/cwl/arvados_cwl/__init__.py
+++ b/sdk/cwl/arvados_cwl/__init__.py
@@ -154,7 +154,7 @@ class ArvadosJob(object):
 
         resources = self.builder.resources
         if resources is not None:
-            runtime_constraints["min_cores_per_node"] = resources.get("cores")
+            runtime_constraints["min_cores_per_node"] = resources.get("cores", 1)
             runtime_constraints["min_ram_mb_per_node"] = resources.get("ram")
             runtime_constraints["min_scratch_mb_per_node"] = resources.get("tmpdirSize", 0) + resources.get("outdirSize", 0)
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list