Support symbolic links in input files #518
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR:
follow_symlink=True
to copy commands when copying config files. However this is already a default value but I added in so it clear in the code that it's intentional.In 0daf911, I had just one test that would run
payu setup
once and test that inputs, configuration files and executables that were set up as expected. In 6d97515, I split up the tests to try(?) make it simpler to read and have one test for one thing. My concern was that it would make running tests slower as were running apayu setup
multiple times. It ended up only adding a couple seconds to the tests..To check how current manifests are changed due to these changes, I ran
payu setup
forrelease-1deg_jra55_ryf
branch inaccess-om2-configs
(https://github.com/ACCESS-NRI/access-om2-configs/tree/release-1deg_jra55_ryf). One of the full path changes are ininput.yaml
manifest are:(as
/g/data/vk83/experiments/
is a symlink for/g/data/vk83/configurations
)Closes #385
Closes #450