RA2CE helps to quantify resilience of critical infrastructure networks, prioritize interventions and adaptation measures and select the most appropriate action perspective to increase resilience considering future conditions.
Currently next to the base_graph also the segmented base_network is assumed to be present if you pass the base_graph as input to the configure(). Also in case the network config option create_segmented_graph is set to False.
Desired behaviour
In case the network config option create_segmented_graph is set to False no base_graph is not required.
Additional context
In _get_stored_network_and_graph it crashes on:
_network_gdf = get_graph("base_network", base_network_filepath)
Ra2ce version checks
master
here.Reproducible example
Current behaviour
Currently next to the base_graph also the segmented base_network is assumed to be present if you pass the
base_graph
as input to theconfigure()
. Also in case the network config optioncreate_segmented_graph
is set to False.Desired behaviour
In case the network config option
create_segmented_graph
is set to False nobase_graph
is not required.Additional context
In
_get_stored_network_and_graph
it crashes on:_network_gdf = get_graph("base_network", base_network_filepath)