Closed DavidHuber-NOAA closed 4 months ago
A note on the new dereference
flag: I wrote and used this in archiving, but then later did not need it. I decided to keep it as it seems useful for having compatibility with Python's builtin tarfile
methods.
Attention: Patch coverage is 25.00000%
with 6 lines
in your changes are missing coverage. Please review.
Project coverage is 47.90%. Comparing base (
63db259
) to head (534fe44
).
Files | Patch % | Lines |
---|---|---|
src/wxflow/htar.py | 40.00% | 3 Missing :warning: |
src/wxflow/yaml_file.py | 0.00% | 1 Missing and 1 partial :warning: |
src/wxflow/jinja.py | 0.00% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This adds a new jinja filter to get the relative directory of a path given a root path and a symlink dereference option to htar create methods. It also gives a better use case example for the Executable class and a check for the existence of a template file before attempting to parse it (not doing so causes a downstream failure that is difficult to debug).
Needed for noaa-emc/global-workflow#2345.
Type of change
How Has This Been Tested?
Checklist