Skip to content

Commit c5d57a7

Browse files
authored
Fix snakemake message for build_electricity/clean_osm_data (#2022)
* Fix snakemake message. * Added release notes.
1 parent e87b0c6 commit c5d57a7

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

doc/release_notes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Release Notes
99
Upcoming Release
1010
================
1111

12+
* Fix wildcards error in `clean_osm_data` rule message introduced in github.com/PyPSA/pypsa-eur/pull/1846 by replacing `wildcards.country` with expanded `config["countries"]` list (https://github.com/PyPSA/pypsa-eur/pull/2022).
13+
1214
* Fix `None` default config parameter from creating zero availability for offshore wind (#2019).
1315

1416
* Remove snakemake's slurm plugin from windows installations (https://github.com/PyPSA/pypsa-eur/pull/2009).

rules/build_electricity.smk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ if (
842842

843843
rule clean_osm_data:
844844
message:
845-
"Cleaning raw OSM data for {wildcards.country}"
845+
"Cleaning raw OSM data for countries: " + ", ".join(config["countries"])
846846
input:
847847
cables_way=expand(
848848
f"{OSM_DATASET['folder']}/{{country}}/cables_way.json",

0 commit comments

Comments
 (0)