openego / powerd-data

GNU Affero General Public License v3.0
1 stars 0 forks source link

Scenarios in default configuration.yaml are saved as one string #163

Open nailend opened 6 months ago

nailend commented 6 months ago

There is a false conversion of the default egon-data.configuration.yaml here when dumped as yaml. The --scenarios values are converted to one string and not a list of strings, leading to ERRORs while importing the pipelines.

{'egon-data': {'--database-port': '59734', '--database-user': 'egon', '--random-seed': 42, '--database-password': 'data', '--database-name': 'egon-data', '--dataset-boundary': 'Everything', '--docker-container-name': 'egon-data-local-database-container', '--jobs': 1, '--airflow-database-name': 'airflow', '--airflow-port': 8080, '--processes-per-task': 1, '--compose-project-name': 'egon-data', '--scenarios': "['status2019', 'eGon2035']", '--database-host': '127.0.0.1'}}

How to reproduce? Remove egon-data.configuration.yaml from working-dir and initiate pipeline with egon-data serve