Skip to content

Commit

Permalink
"Unemployment" moved to common-definitions (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed May 23, 2024
1 parent 63d39bf commit bad8c0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
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

0 comments on commit bad8c0c

Please sign in to comment.