-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overwrite frontend options on a per-file basis in Scheduler config #233
Overwrite frontend options on a per-file basis in Scheduler config #233
Conversation
Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/233/index.html |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## nabr-the-new-scheduler #233 +/- ##
==========================================================
- Coverage 92.72% 92.71% -0.02%
==========================================================
Files 95 95
Lines 17800 17825 +25
==========================================================
+ Hits 16505 16526 +21
- Misses 1295 1299 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
||
The resulting `dict` contains overwrites that have been provided | ||
in the :attr:`frontend_args` of the config. | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be useful to list arguments here. Was briefly wondering here what path
pertained to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, good point. I've commited an updated docstring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only small nitpick I have is the docstring, otherwise this looks great! Very happy to have some regression testing back with this. 😉
As the target branch is WIP, this is GTG for me.
This adds the ability to overwrite frontend options on a per-file basis in the Scheduler config. This allows for example to switch on preprocessing for individual files only (e.g., for those that are not valid Fortran without preprocessing), or to overwrite the frontend parser. The latter was the missing piece to successfully run CLOUDSC regression with OMNI.