Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tasks: adds flag for relative path to the workflow file #135

Merged
merged 1 commit into from
Jan 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions reana_workflow_engine_cwl/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ def parse_str_to_int(workflow_parameters):
@click.option('--workflow-json',
help='JSON representation of workflow object to be run.',
callback=load_json)
@click.option('--workflow-file',
help='Path to the workflow file. This field is used when'
' no workflow JSON has been passed.')
@click.option('--workflow-parameters',
help='JSON representation of parameters received by'
' the workflow.',
Expand All @@ -83,6 +86,7 @@ def parse_str_to_int(workflow_parameters):
callback=load_json)
def run_cwl_workflow(workflow_uuid, workflow_workspace,
workflow_json=None,
workflow_file=None,
workflow_parameters=None,
operational_options={}):
"""Run cwl workflow."""
Expand Down