diff --git a/rules/postprocess.smk b/rules/postprocess.smk index cee07ea6..67b71503 100644 --- a/rules/postprocess.smk +++ b/rules/postprocess.smk @@ -297,7 +297,7 @@ rule plot_elec_statistics: output: **{ f"{plot}_bar": RESULTS - + f"figures/statistics_{plot}_bar_elec{weather_year}_s{simpl}_{clusters}_ec_l{ll}_{opts}.pdf" + + f"figures/statistics_{plot}_bar_elec{{weather_year}}_s{{simpl}}_{{clusters}}_ec_l{{ll}}_{{opts}}.pdf" for plot in STATISTICS_BARPLOTS }, barplots_touch=RESULTS diff --git a/scripts/make_summary.py b/scripts/make_summary.py index 5dc18ec9..67089f92 100644 --- a/scripts/make_summary.py +++ b/scripts/make_summary.py @@ -681,7 +681,7 @@ if __name__ == "__main__": networks_dict = { (weather_year, cluster, ll, opt + sector_opt, planning_horizon): "results/" + snakemake.params.RDIR - + f"/postnetworks/elec_s{simpl}_{cluster}_l{ll}_{opt}_{sector_opt}_{planning_horizon}.nc" + + f"postnetworks/elec{weather_year}_s{simpl}_{cluster}_l{ll}_{opt}_{sector_opt}_{planning_horizon}.nc" for weather_year in snakemake.params.scenario["weather_year"] for simpl in snakemake.params.scenario["simpl"] for cluster in snakemake.params.scenario["clusters"]