Skip to content

Commit

Permalink
using Black
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosEpia committed Oct 18, 2023
1 parent 9529a8d commit b76a7bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions etrago/cluster/spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b76a7bf

Please sign in to comment.