From b76a7bff2ba7c94972c71d200d0b8cd9a47d5ad9 Mon Sep 17 00:00:00 2001 From: CarlosEpia Date: Wed, 18 Oct 2023 13:55:56 +0200 Subject: [PATCH] using Black --- etrago/cluster/spatial.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etrago/cluster/spatial.py b/etrago/cluster/spatial.py index e402f797..37dbb75e 100755 --- a/etrago/cluster/spatial.py +++ b/etrago/cluster/spatial.py @@ -515,8 +515,9 @@ def busmap_ehv_clustering(etrago): ) else: busmap = pd.read_csv(etrago.args["network_clustering_ehv"]["busmap"]) - busmap = pd.Series(busmap.bus1.apply(str).values, - index=busmap.bus0.apply(str)).to_dict() + busmap = pd.Series( + busmap.bus1.apply(str).values, index=busmap.bus0.apply(str) + ).to_dict() return busmap