Skip to content
Snippets Groups Projects
Commit 941cab9d authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Get `e_overestim` from graph property

Instead of reading it from standard input.
parent 0d918066
No related branches found
No related tags found
No related merge requests found
...@@ -103,8 +103,7 @@ ...@@ -103,8 +103,7 @@
"$my_data_dir/Eurec4A/Graph_anti/segments_cost_functions.gt", "$my_data_dir/Eurec4A/Graph_anti/segments_cost_functions.gt",
"segments.gv", "segments.gv",
"-t", "$my_data_dir/Eurec4A/Graph_anti/traj_segm.json" "-t", "$my_data_dir/Eurec4A/Graph_anti/traj_segm.json"
], ]
"input": "164\n"
}, },
"Plot_traj": { "Plot_traj": {
"command": [ "command": [
......
...@@ -29,9 +29,7 @@ g_out = pgv.AGraph(directed = True) ...@@ -29,9 +29,7 @@ g_out = pgv.AGraph(directed = True)
for v in g_in.vertices(): for v in g_in.vertices():
g_out.add_node(g_in.vp.name[v]) g_out.add_node(g_in.vp.name[v])
e_overestim = input("Enter e_overestim: ") report_graph.partition_graph_date(g_out, g_in.gp.e_overestim)
e_overestim = int(e_overestim)
report_graph.partition_graph_date(g_out, e_overestim)
for e in g_in.edges(): for e in g_in.edges():
source = e.source() source = e.source()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment