Skip to content

Commit

Permalink
yadage: prevent loading workflow spec on creation
Browse files Browse the repository at this point in the history
This logic will be moved to r-w-e-yadage.
reanahub/reana-workflow-engine-yadage#150
  • Loading branch information
mvidalgarcia committed Apr 2, 2020
1 parent 26d66d6 commit 3a5d2a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion reana_client/cli/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ def workflow_stop(ctx, workflow, force_stop, access_token): # noqa: D301
'-o', '--option', 'options',
multiple=True,
callback=params_tuple_to_dict,
help='Additional operatioal options for the workflow execution. '
help='Additional operational options for the workflow execution. '
'E.g. CACHE=off.',
)
@click.option(
Expand Down
4 changes: 2 additions & 2 deletions reana_client/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def yadage_load(workflow_file, toplevel='.', **kwargs):
}

try:
return yadageschemas.load(spec=workflow_file, specopts=specopts,
validopts=validopts, validate=True)
yadageschemas.load(spec=workflow_file, specopts=specopts,
validopts=validopts, validate=True)

except ValidationError as e:
e.message = str(e)
Expand Down

0 comments on commit 3a5d2a4

Please sign in to comment.