From dc997c6ff2dbacdc551e010e3f419ab83fe7a20a Mon Sep 17 00:00:00 2001 From: lisazeyen <35347358+lisazeyen@users.noreply.github.com> Date: Mon, 2 May 2022 18:19:59 +0200 Subject: [PATCH] Update build_population_weighted_energy_totals.py adjust mocksnakemake --- scripts/build_population_weighted_energy_totals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build_population_weighted_energy_totals.py b/scripts/build_population_weighted_energy_totals.py index ec75f069..938983d5 100644 --- a/scripts/build_population_weighted_energy_totals.py +++ b/scripts/build_population_weighted_energy_totals.py @@ -6,7 +6,7 @@ if __name__ == '__main__': if 'snakemake' not in globals(): from helper import mock_snakemake snakemake = mock_snakemake( - 'build_transport_demand', + 'build_population_weighted_energy_totals', simpl='', clusters=48, ) @@ -19,4 +19,4 @@ if __name__ == '__main__': nodal_energy_totals.index = pop_layout.index nodal_energy_totals = nodal_energy_totals.multiply(pop_layout.fraction, axis=0) - nodal_energy_totals.to_csv(snakemake.output[0]) \ No newline at end of file + nodal_energy_totals.to_csv(snakemake.output[0])