-
Notifications
You must be signed in to change notification settings - Fork 18
Fix convert_xml_to_yaml() function to properly handle nested sections #134
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
base: main
Are you sure you want to change the base?
Conversation
climbfuji
left a comment
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.
This looks good to me. Thanks for fixing this so quickly.
Dismissing my approval because the script apparently has a bug (CI tests fail, invalid number of function arguments)
nusbaume
left a comment
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 for the bug fix @mkavulich! Everything looks good to me, although I did have some optional print statement requests.
|
@climbfuji Pinging to make sure you agree with this change for standard names with no type. |
Yes, thanks! |
Description
The current version of the
tools/write_standard_name_table.pyscript does not appropriately read nested section elements from the XML when writing a YAML output. I had ChatGPT fix the function to appropriately account for this, then reviewed the results and made some manual tweaks to make the output neater.Links to ChatGPT output:
Issues
Fixes #132