simplify_network: Allow to remove stubs across country borders
This commit is contained in:
parent
761b1b998f
commit
1fa62b9aab
@ -174,7 +174,7 @@ def simplify_links(n):
|
|||||||
def remove_stubs(n):
|
def remove_stubs(n):
|
||||||
logger.info("Removing stubs")
|
logger.info("Removing stubs")
|
||||||
|
|
||||||
busmap = busmap_by_stubs(n, ['country'])
|
busmap = busmap_by_stubs(n) # ['country'])
|
||||||
_aggregate_and_move_components(n, busmap)
|
_aggregate_and_move_components(n, busmap)
|
||||||
|
|
||||||
return n, busmap
|
return n, busmap
|
||||||
|
Loading…
Reference in New Issue
Block a user