From 68c121f37cd482942127bc3953dd5aa814f891b9 Mon Sep 17 00:00:00 2001 From: "kate.friedman" Date: Mon, 5 Aug 2024 17:26:01 +0000 Subject: [PATCH] Add allow_missing=False to stage task Refs #2475 --- ush/python/pygfs/task/stage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ush/python/pygfs/task/stage.py b/ush/python/pygfs/task/stage.py index 9f21c63060..f5f587adea 100644 --- a/ush/python/pygfs/task/stage.py +++ b/ush/python/pygfs/task/stage.py @@ -47,7 +47,8 @@ def execute_stage(self, stage_dict: Dict[str, Any]) -> None: # Add the os.path.exists function to the dict for yaml parsing stage_dict['path_exists'] = os.path.exists - stage_set = parse_j2yaml(self.task_config.STAGE_IC_YAML_TMPL, stage_dict) + stage_set = parse_j2yaml(self.task_config.STAGE_IC_YAML_TMPL, stage_dict, + allow_missing=False) # Copy files to ROTDIR for key in stage_set.keys():