Update build_population_weighted_energy_totals.py
adjust mocksnakemake
This commit is contained in:
parent
361100bfab
commit
dc997c6ff2
@ -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])
|
||||
nodal_energy_totals.to_csv(snakemake.output[0])
|
||||
|
Loading…
Reference in New Issue
Block a user