transmission_main_example: Do not write out a CSV file

We talked about this earlier today on a call, and agreed with Esther and
Alessio that this is probably a relict from the past. The file does not
appear to contain much useful information, anyway, so let's try to
remove it and wait if someone complains.

Change-Id: I215eeb37498b28b15ece2300f4bbdd184ac52f4a
This commit is contained in:
Jan Kundrát
2020-06-10 10:46:41 +02:00
parent c38fe72ff7
commit 914d0dbecd

View File

@@ -23,7 +23,7 @@ import gnpy.core.exceptions as exceptions
from gnpy.core.network import build_network
from gnpy.core.parameters import SimParams
from gnpy.core.science_utils import Simulation
from gnpy.core.utils import db2lin, lin2db, write_csv, automatic_nch
from gnpy.core.utils import db2lin, lin2db, automatic_nch
from gnpy.topology.request import (ResultElement, jsontocsv, compute_path_dsjctn, requests_aggregation,
BLOCKING_NOPATH, correct_json_route_list,
deduplicate_disjunctions, compute_path_with_disjunction,
@@ -256,7 +256,6 @@ def transmission_main_example(args=None):
'SNR_nli_signal_bw': round(mean(destination.osnr_nli), 2),
'SNR_total_signal_bw': round(mean(destination.snr), 2)
})
write_csv(result_dicts, 'simulation_result.csv')
if args.save_network is not None:
save_network(network, args.save_network)