Skip to content

Commit 1b4e201

Browse files
authored
Merge branch 'master' into symlinksNutil
2 parents d3a52e9 + 8d8612c commit 1b4e201

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
long_description = readmeFile.read()
1212

1313
setup(name='wes-service',
14-
version='2.5',
14+
version='2.6',
1515
description='GA4GH Workflow Execution Service reference implementation',
1616
long_description=long_description,
1717
author='GA4GH Containers and Workflows task team',

wes_client/wes_client_main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ def main(argv=sys.argv[1:]):
7575
json.dump(response.result(), sys.stdout, indent=4)
7676
return 0
7777

78+
if not args.workflow_url:
79+
parser.print_help()
80+
return 1
81+
7882
if not args.job_order:
7983
logging.error("Missing json/yaml file.")
8084
return 1

wes_service/arvados_wes.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ def invoke_cwl_runner(self, cr_uuid, workflow_url, workflow_params,
155155
def RunWorkflow(self, **args):
156156
tempdir, body = self.collect_attachments()
157157

158-
print(body)
159-
160158
if not connexion.request.headers.get('Authorization'):
161159
raise MissingAuthorization()
162160

@@ -214,7 +212,10 @@ def GetRunLog(self, run_id):
214212
if request["output_uuid"]:
215213
c = arvados.collection.CollectionReader(request["output_uuid"], api_client=api)
216214
with c.open("cwl.output.json") as f:
217-
outputobj = json.load(f)
215+
try:
216+
outputobj = json.load(f)
217+
except ValueError:
218+
pass
218219

219220
def keepref(d):
220221
if isinstance(d, dict) and "location" in d:

0 commit comments

Comments
 (0)