Skip to content

Commit

Permalink
bug: fixed round error in build_base_energy_total
Browse files Browse the repository at this point in the history
  • Loading branch information
doneachh committed Jan 22, 2024
1 parent 9d4ebf2 commit 7ad5824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build_base_energy_totals.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ def calc_sector(sector):
.Quantity_TWh.sum(), 4)
)
energy_totals_base.at[country, "services biomass"] = (
round(
df_sector[df_sector.Commodity.isin(biomass_fuels)]
.Quantity_TWh.sum()
.round(4)
.Quantity_TWh.sum(), 4)
)
energy_totals_base.at[country, "services gas"] = (
round(
Expand Down

0 comments on commit 7ad5824

Please sign in to comment.