env: correct pyscipopt dependency
cluster_network: address deprecation warning
This commit is contained in:
parent
ca1628a585
commit
56b22a3b4e
@ -36,7 +36,7 @@ dependencies:
|
||||
- networkx
|
||||
- scipy
|
||||
- shapely>=2.0
|
||||
- scipopt
|
||||
- pyscipopt
|
||||
- matplotlib
|
||||
- proj
|
||||
- fiona
|
||||
|
@ -364,7 +364,7 @@ def busmap_for_n_clusters(
|
||||
|
||||
return (
|
||||
n.buses.groupby(["country", "sub_network"], group_keys=False)
|
||||
.apply(busmap_for_country)
|
||||
.apply(busmap_for_country, include_groups=False)
|
||||
.squeeze()
|
||||
.rename("busmap")
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user