From 9c41847c9147edebaa6ad4ccd16d02756f673f28 Mon Sep 17 00:00:00 2001 From: Philip Hackstock <20710924+phackstock@users.noreply.github.com> Date: Tue, 30 Jan 2024 15:04:28 +0100 Subject: [PATCH] Fix kopernikus_public --- workflow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/workflow.py b/workflow.py index a8a6c2a..9f622e1 100644 --- a/workflow.py +++ b/workflow.py @@ -154,6 +154,7 @@ def _validate_meta( return df def kopernikus_public(df: pyam.IamDataFrame) -> pyam.IamDataFrame: + definition = DataStructureDefinition(here / "definitions", dimensions=["region"]) for region in definition.region.values(): for synonym in ("abbr", "iso3"): if synonym in region.extra_attributes: