diagnostics: Correctly report all spans, not just the Raman ones
It's just a harmless message, the path traversal was still using all
connections as defined in the topology JSON.
@@ -126,7 +126,7 @@ def main(network, equipment, source, destination, sim_params, req = None):
configure_network(network, sim_params)
path = compute_constrained_path(network, req)
- spans = [s.length for s in path if isinstance(s, RamanFiber)]
+ spans = [s.length for s in path if isinstance(s, RamanFiber) or isinstance(s, Fiber)]
print(f'\nThere are {len(spans)} fiber spans over {sum(spans):.0f}m between {source.uid} and {destination.uid}')
print(f'\nNow propagating between {source.uid} and {destination.uid}:')
