Skip to content
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

Allow nomenclatureconfig to have region country only #320

Conversation

phackstock
Copy link
Contributor

Closes #319.

I took this issues as an opportunity to substitute all the None values in NomenclatureConfig for empty instances of e.g. CodeListConfig.
The advantage of the is that you no longer need to check if a attribute exists in NomenClatureConfig but instead you can just iterate over it.

Copy link
Member

@danielhuppmann danielhuppmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't want to pretend that I understand everything, but it looks nice...

@phackstock phackstock merged commit f4627d9 into IAMconsortium:main Feb 9, 2024
8 checks passed
@phackstock phackstock deleted the hotfix/nomenclature-config-region-country-only branch February 9, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using only country in nomenclature config breaks CodeList
2 participants