Closed jo-basevi closed 3 months ago
Hello @jo-basevi! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
payu/subcommands/args.py
:Line 289:2: W292 no newline at end of file
As the intention was to add a command-line argument to make it easier to update manifests for released configurations, running payu setup
(and maybe payu sweep
) would be the only commands required to have --metadata-off
. If wishing to disable metadata for payu run
/sync
/collate
jobs using the metadata: enable: false
in config.yaml
would be the best option. So that simplifies this PR quite a bit!
Add cmd line flag
--metadata-off
/-M
(better names?) to payu subcommands to disable metadata files or UUIDs being created. This uses control directory for experiment names. (so equivalent tometadata: enable: false
inconfig.yaml
)Added this flag to sub-commands that create an Experiment class instance - so archive, collate, profile, run, setup, sweep and sync.
Closes #446