Skip to content

Create config file from default if not found - #194

Merged
fneum merged 1 commit into
PyPSA:masterfrom
koen-vg:copy-default-config
Nov 22, 2021
Merged

Create config file from default if not found#194
fneum merged 1 commit into
PyPSA:masterfrom
koen-vg:copy-default-config

Conversation

@koen-vg

@koen-vg koen-vg commented Nov 22, 2021

Copy link
Copy Markdown

Similarly to pypsa-eur, if the config file is not found, we can create it as a copy of config.default.yaml.

The rationale, just as with pypsa-eur, is that makes it easier to include pypsa-eur-sec as a subworkflow in a snakemake workflow. (See PyPSA/pypsa-eur#105.) It's not strictly speaking necessary, but certainly nice to have when using pypsa-eur-sec as a subworkflow.

Similarly to pypsa-eur, the config file is not found, we create it as
a copy of `config.default.yaml`. This also makes it easier to include
pypsa-eur-sec as a subworkflow in a snakemake workflow.

@fneum fneum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@fneum
fneum merged commit 306170f into PyPSA:master Nov 22, 2021
@koen-vg
koen-vg deleted the copy-default-config branch November 22, 2021 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants