Skip to content

Commit

Permalink
Break overly long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Sep 19, 2023
1 parent a0a408f commit d493fb9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions etrago/cluster/gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ def preprocessing(etrago):
)
]

# select buses dependent on whether they should be clustered in (only DE or DE+foreign)
# select buses dependent on whether they should be clustered in
# (only DE or DE+foreign)
if not settings["cluster_foreign_gas"]:
network_ch4.buses = network_ch4.buses.loc[
ch4_filter & (network_ch4.buses["country"].values == "DE")
Expand Down Expand Up @@ -997,7 +998,8 @@ def run_spatial_clustering_gas(self):
self.update_busmap(busmap)

logger.info(
"GAS Network clustered to {} DE-buses and {} foreign buses with {} algorithm.".format(
"""GAS Network clustered to {} DE-buses and {} foreign buses
with {} algorithm.""".format(
len(
self.network.buses.loc[
(self.network.buses.carrier == "CH4")
Expand Down

0 comments on commit d493fb9

Please sign in to comment.