Autosubmit cannot refresh experiment after you fix the configuration
( This is a template for bug reports. Please fill in the relevant information and delete the rest. )
Hello @dbeltran and @bdepaula,
Autosubmit Version
master
branch.
Expid affected(If applicable)
NA
Which task has issues? Where is the log(If applicable)
NA
Summary
I was toying with a workflow yesterday, when I might have made a mistake in the configuration. If I recall, AS complained about a missing JOBS
value, so I just created a %CUSTOM_CONFIG%/jobs.yml
file with the following:
JOBS:
Running autosubmit refresh
resulted in an error. So I rectified the file, adding an empty job with a template. It looked valid, but AS would not run autosubmit refresh
after I fixed the file. It kept raising the same error, until I went to the file and fixed the contents. Only then Autosubmit was able to refresh & create.
Steps to reproduce
I've described it above, but another day I will redo my steps and document everything here, step by step, how to reproduce it. Just creating this issue so I don't forget.
What is the current bug behavior?
If you made a mistake, fixed it, and asked AS to refresh the config, AS won't be able to, even if your error is in the jobs (which IMO shouldn't prevent refresh
from running?)
What is the expected correct behavior?
AS refreshes the project directory with the correct configuration.
Relevant logs and/or screenshots(if applicable)
(Paste any relevant logs - use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise.)
Any other relevant information(if applicable)
()