From d493fb9896172743f7e97bb3d2f7a55a9a0325a7 Mon Sep 17 00:00:00 2001 From: ClaraBuettner Date: Tue, 19 Sep 2023 11:19:08 +0200 Subject: [PATCH] Break overly long lines --- etrago/cluster/gas.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etrago/cluster/gas.py b/etrago/cluster/gas.py index 7a6d0f15..61b23dc9 100644 --- a/etrago/cluster/gas.py +++ b/etrago/cluster/gas.py @@ -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") @@ -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")