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

"Unemployment" moved to common-definitions #9

Merged
merged 2 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions definitions/variable/variable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -792,9 +792,6 @@
CO2, CH4, N2O and F-gases (preferably use 100-year GWPs from AR4 for aggregation
of different gases, net of bioenergy with CCS (BECCS)
unit: Mt CO2-equiv/yr
- Employment:
definition: Number of employed inhabitants (based on ILO classification)
unit: million
- Unemployment|Rate:
definition: Fraction of unemployed inhabitants (based on ILO classification)
unit: '%'
Expand Down
2 changes: 1 addition & 1 deletion tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_integration_common_definitions():
for project in ["navigate", "engage", "shape"]:
if project in attrs.extra_attributes:
legacy_var = attrs.__getattr__(project)
if legacy_var in existing_variables:
if legacy_var != code and legacy_var in existing_variables:
legacy_variables[legacy_var] = code

if legacy_variables:
Expand Down
Loading