Skip to content
Snippets Groups Projects
Commit 1218d500 authored by John Chilton's avatar John Chilton
Browse files

Allow just specifing setup=True in launch message.

Forces a full setup step without having to actually create a non-empty setup_params dictionary. Galaxy would always pass a tool id and stuff in setup_params - but these should be optional.
parent 336ea024
No related branches found
No related tags found
No related merge requests found
......@@ -53,14 +53,15 @@ def submit_job(manager, job_config):
job_id = job_config.get('job_id')
command_line = job_config.get('command_line')
setup_params = job_config.get('setup_params')
setup_params = job_config.get('setup_params', {})
force_setup = job_config.get('setup')
remote_staging = job_config.get('remote_staging', {})
dependencies_description = job_config.get('dependencies_description', None)
env = job_config.get('env', [])
submit_params = job_config.get('submit_params', {})
job_config = None
if setup_params:
if setup_params or force_setup:
input_job_id = setup_params.get("job_id", job_id)
tool_id = setup_params.get("tool_id", None)
tool_version = setup_params.get("tool_version", None)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment