Skip to content
Snippets Groups Projects
Commit 7f8f7055 authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Skipping wrester args for ingest obs workflows

parent 116b761c
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1440WS-1808 Skipping wrester args for ingest obs workflows
Pipeline #11474 passed
......@@ -167,7 +167,7 @@ class WorkflowInfo(WorkflowInfoIF):
# otherwise, the argument must be already be a string
workflow_name = workflow.workflow_name if hasattr(workflow, "workflow_name") else workflow
if any(item in workflow_name for item in ["null", "carta", "vlass", "qa", "split"]):
if any(item in workflow_name for item in ["null", "carta", "vlass", "qa", "split", "ingest"]):
argument["need_project_metadata"] = False
if (
......@@ -182,7 +182,7 @@ class WorkflowInfo(WorkflowInfoIF):
parent = self.lookup_workflow_request(argument["parent_wf_request_id"])
argument["source_dir"] = parent.results_dir
if "ingest" in workflow_name:
if "ingest" in workflow_name and "obs" not in workflow_name:
argument["need_project_metadata"] = True
if any(item in workflow_name for item in ["vlass", "pims"]):
......
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