Skip to content

Commit

Permalink
Add allow_missing=False to stage task
Browse files Browse the repository at this point in the history
  • Loading branch information
KateFriedman-NOAA committed Aug 5, 2024
1 parent ccf5945 commit 68c121f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ush/python/pygfs/task/stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 68c121f

Please sign in to comment.