[ARVADOS] updated: 1.3.0-60-gd7d074d79

Git user git at public.curoverse.com
Mon Dec 17 09:58:33 EST 2018


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

       via  d7d074d790366338a01736552e916c5e4b5cef69 (commit)
      from  29fee810dd128be904354d439f8c85a3318f64f8 (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 d7d074d790366338a01736552e916c5e4b5cef69
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Fri Dec 14 15:59:34 2018 -0500

    11419: Read JSON files in binary mode.
    
    Files opened in text mode do not have a size() method.
    
    refs #11419
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/sdk/cwl/arvados_cwl/runner.py b/sdk/cwl/arvados_cwl/runner.py
index 1d5f98f20..4b3275fa3 100644
--- a/sdk/cwl/arvados_cwl/runner.py
+++ b/sdk/cwl/arvados_cwl/runner.py
@@ -461,7 +461,7 @@ class Runner(Process):
                                                        keep_client=self.arvrunner.keep_client,
                                                        num_retries=self.arvrunner.num_retries)
             if "cwl.output.json" in outc:
-                with outc.open("cwl.output.json") as f:
+                with outc.open("cwl.output.json", "rb") as f:
                     if f.size() > 0:
                         outputs = json.load(f)
             def keepify(fileobj):

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list