From cc658fa45bcc7316c26ca7b7c1966833a297500a Mon Sep 17 00:00:00 2001 From: Kilian Helfenbein Date: Fri, 22 Nov 2024 15:08:19 +0100 Subject: [PATCH 1/2] bugfix #343 which didn't allow for multiple values for the scenario parameter in the cli and therefore interpreted multiple values as one string --- src/egon/data/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/egon/data/cli.py b/src/egon/data/cli.py index f99f29213..d12f59b78 100644 --- a/src/egon/data/cli.py +++ b/src/egon/data/cli.py @@ -179,6 +179,7 @@ default=["status2019", "eGon2035"], metavar="SCENARIOS", help=("List of scenario names for which a data model shall be created."), + multiple=True, show_default=True, ) @click.option( From 84b403f4fedb761566cb373987f53da458a80653 Mon Sep 17 00:00:00 2001 From: Kilian Helfenbein Date: Fri, 22 Nov 2024 15:11:24 +0100 Subject: [PATCH 2/2] adapt changelog --- CHANGELOG.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 34c180f38..74e4d093a 100755 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -738,6 +738,9 @@ Bug Fixes `#179 `_ * Fix depricated python-operator import `#183 `_ +* Fix incorrect YAML serialization of the --scenarios CLI + parameter that caused broken DAGs in the pipeline. + `#343 `_ .. _PR #692: https://github.com/openego/eGon-data/pull/692