Validate rose meta#105
Conversation
Co-authored-by: Cameron Bateman <cameron.bateman@metoffice.gov.uk>
|
Thanks Cameron, I've committed the bottom suggestion which is a good shout. I've not done the other ones. The reason for storing the state in the variable is it lets us run the test for all apps before raising an error, so we find all the issues immediately rather than fixing one and running again |
Cameron Bateman (cameronbateman-mo)
left a comment
There was a problem hiding this comment.
All looks good 👍👌
Jenny Hickson (jennyhickson)
left a comment
There was a problem hiding this comment.
Generally good - a few odds and sods :)
James Bruten (james-bruten-mo)
left a comment
There was a problem hiding this comment.
Thanks Jenny, changes made
Yaswant Pradhan (yaswant)
left a comment
There was a problem hiding this comment.
Since this is a completely new addition, please consider type hints.
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
|
Given I've adapted this from an existing script that was in the Apps repo (and it's pretty straightforward) I'll leave off adding the type hinting for now. |
…s_Scripts into validate_rose_meta
Jenny Hickson (jennyhickson)
left a comment
There was a problem hiding this comment.
Thanks for sorting. Looks good to me.
Description
Summary
Refactor validate_rose_meta.py and move it to SimSys_Scripts. The script will now automatically find metadata sections and apps to validate (ignoring a list of exceptions) rather than only testing based on a hardcoded list. This was done previously and meant that new metadata sections were regularly not tested.
Coordinated merge
This ticket needs to be committed before:
LFRic Apps #954
LFRic Core #4666
Checklist