Skip to content
Snippets Groups Projects
Commit 2f089af0 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

fix single image carta and downloads for real. really.

parent f6f86c45
No related branches found
No related tags found
2 merge requests!1390Catch up with Main,!1315fix single image carta and downloads for real. really.
Pipeline #9453 passed
......@@ -436,14 +436,8 @@ class WorkflowService(WorkflowServiceIF):
:param wf_request: the workflow request
:return:
"""
if (
(
"product_locator" in wf_request.argument
and wf_request.argument["product_locator"] is not None
and "," in wf_request.argument["product_locator"]
)
or ("need_data" in wf_request.argument and wf_request.argument["need_data"] is True)
or wf_request.workflow_name == "download"
if wf_request.workflow_name == "download" or (
"need_data" in wf_request.argument and wf_request.argument["need_data"] is True
):
spl_list = wf_request.argument["product_locator"].split(",")
fetcher_string = " --product-locator"
......@@ -529,11 +523,9 @@ class WorkflowService(WorkflowServiceIF):
"ramInGb": self.processing_settings.ramInGb,
}
wf_request.argument = merged_args
wf_request.argument["fetch_args"] = (
if arg_list[0] in ["--product", "--carta"]:
self.determine_multiple_productfetch(wf_request)
if arg_list[0] in ["--product", "--carta"]
else None
)
return wf_definition.render_templates(wf_request.argument)
else:
logger.error(wf_json.decode())
......
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