Skip to content

Commit d636890

Browse files
author
Peter Amstutz
committed
Fix CollectionReader
1 parent 0add049 commit d636890

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wes_service/arvados_wes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def GetWorkflowLog(self, workflow_id):
8585

8686
outputobj = {}
8787
if request["output_uuid"]:
88-
c = arvados.collection.CollectionReader(request["output_uuid"])
88+
c = arvados.collection.CollectionReader(request["output_uuid"], api_client=api)
8989
with c.open("cwl.output.json") as f:
9090
outputobj = json.load(f)
9191

@@ -97,7 +97,7 @@ def keepref(d):
9797

9898
stderr = ""
9999
if request["log_uuid"]:
100-
c = arvados.collection.CollectionReader(request["log_uuid"])
100+
c = arvados.collection.CollectionReader(request["log_uuid"], api_client=api)
101101
if "stderr.txt" in c:
102102
with c.open("stderr.txt") as f:
103103
stderr = f.read()

0 commit comments

Comments
 (0)