From defdfb57ee59e13d5b9c25d7fe45edf5c399fbdc Mon Sep 17 00:00:00 2001 From: paulboosz Date: Fri, 26 Apr 2024 14:26:32 +0200 Subject: [PATCH] cherryimpacts from simapro --- data/common/export.py | 8 +++++++- data/food/activities_to_create.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/data/common/export.py b/data/common/export.py index 2fc8057aa..fb23eb4d4 100644 --- a/data/common/export.py +++ b/data/common/export.py @@ -16,7 +16,13 @@ def spproject(activity): case "Ginko": return "Ginko" case "Ecobalyse": - return "EcobalyseIsNotASimaProProject" + if ( + "Cherry, organic 2023, national average, at orchard {FR} U" + in activity["name"] + ): + return "Ginko" + else: + return "EcobalyseIsNotASimaProProject" case _: return "AGB3.1.1 2023-03-06" diff --git a/data/food/activities_to_create.json b/data/food/activities_to_create.json index ce6580a1a..6e8e64eeb 100644 --- a/data/food/activities_to_create.json +++ b/data/food/activities_to_create.json @@ -393,7 +393,7 @@ "id": "cherry-without-aza", "search_in": "Ginko", "search": "Cherry, organic 2023, national average, at orchard {FR} U", - "suffix": "[without-aza]", + "suffix": "without AZA", "subactivities": ["Cherry, full production, organic 2023, national average, at orchard {FR} U"], "replace": { "Azadirachtin, at plant - {GLO}": ""