Closed DavidNew-NOAA closed 2 months ago
Attention: Patch coverage is 66.66667%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 48.23%. Comparing base (
8566ea3
) to head (6a790fc
).
Files | Patch % | Lines |
---|---|---|
src/wxflow/task.py | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This PR adds a filter for Jinja2 rendering called replace_tmpl that takes a string and replaces substrings defined in an input dictionary. The motivation is for when we want to replace multiple substrings in a template in the Global Workflow.
This PR also changes the copy() method that creates task_config in the Task class to deepcopy(), since in at least one case in the Global Workflow, a task_config key points to another dictionary.
Type of change
How Has This Been Tested?
ATM JJOB tests in GDASApp on Orion
Checklist