Closed DavidNew-NOAA closed 3 months ago
Attention: Patch coverage is 25.00000%
with 12 lines
in your changes missing coverage. Please review.
Project coverage is 47.91%. Comparing base (
8406bee
) to head (7b5f330
). Report is 8 commits behind head on develop.
Files with missing lines | Patch % | Lines |
---|---|---|
src/wxflow/task.py | 25.00% | 12 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This PR causes the the "task_config" member AttrDict object to be created in the init method of the "Task" class. Previously, "task_config" has been created separately, but all applications that utilize the "Task" class expect "task_config" to exist, so it might as well be created at initialization. Example of task_config creation: https://github.com/NOAA-EMC/global-workflow/blob/67b833e0c7bc390865d453588b4609a1a7ede981/ush/python/pygfs/task/atm_analysis.py#L59
This PR also adds two class methods to the "Task" class:
This PR is part of a broader refactoring of pygfs in the Global Workflow.
Type of change
How Has This Been Tested?
Checklist