Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 16, 2024
1 parent c705f2d commit c9b48c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rules/build_sector.smk
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ rule prepare_sector_network:
import_costs="data/imports/results.csv",
import_p_max_pu="data/imports/combined_weighted_generator_timeseries.nc",
regions_onshore=resources("regions_onshore_base_s_{clusters}.geojson"),
country_shapes="data/naturalearth/ne_10m_admin_0_countries_deu.shp", # TODO FN: instead of country_centroids use .representative_point()
country_shapes="data/naturalearth/ne_10m_admin_0_countries_deu.shp", # TODO FN: instead of country_centroids use .representative_point()
# country_centroids=storage(
# "https://raw.githubusercontent.com/gavinr/world-countries-centroids/v1.0.0/dist/countries.csv",
# keep_local=True,
Expand Down
4 changes: 1 addition & 3 deletions rules/plot.smk
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,7 @@ rule plot_choropleth_demand:
"industrial_energy_demand_base_s_{clusters}_{planning_horizons}.csv"
),
shipping_demand=resources("shipping_demand_s_{clusters}.csv"),
nodal_energy_totals=resources(
"pop_weighted_energy_totals_s_{clusters}.csv"
),
nodal_energy_totals=resources("pop_weighted_energy_totals_s_{clusters}.csv"),
regions_onshore=resources("regions_onshore_base_s_{clusters}.geojson"),
rc="matplotlibrc",
output:
Expand Down

0 comments on commit c9b48c7

Please sign in to comment.