env: correct pyscipopt dependency

cluster_network: address deprecation warning
This commit is contained in:
Fabian 2024-01-30 10:29:08 +01:00
parent ca1628a585
commit 56b22a3b4e
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ dependencies:
- networkx - networkx
- scipy - scipy
- shapely>=2.0 - shapely>=2.0
- scipopt - pyscipopt
- matplotlib - matplotlib
- proj - proj
- fiona - fiona

View File

@ -364,7 +364,7 @@ def busmap_for_n_clusters(
return ( return (
n.buses.groupby(["country", "sub_network"], group_keys=False) n.buses.groupby(["country", "sub_network"], group_keys=False)
.apply(busmap_for_country) .apply(busmap_for_country, include_groups=False)
.squeeze() .squeeze()
.rename("busmap") .rename("busmap")
) )