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

Remove option `--gv` of `report_graph.py`

The Graphviz file can be created with `edgelist_to_Graphviz.py`.
parent b648a1e1
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,6 @@ from os import path ...@@ -12,7 +12,6 @@ from os import path
import os import os
import networkx as nx import networkx as nx
from networkx import nx_agraph
import util_eddies import util_eddies
...@@ -106,9 +105,6 @@ if __name__ == "__main__": ...@@ -106,9 +105,6 @@ if __name__ == "__main__":
# Parse arguments: # Parse arguments:
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("edgelist_file") parser.add_argument("edgelist_file")
parser.add_argument(
"--gv", help="Create Graphviz file", action="store_true"
)
parser.add_argument( parser.add_argument(
"-m", "-m",
"--merging", "--merging",
...@@ -169,9 +165,3 @@ if __name__ == "__main__": ...@@ -169,9 +165,3 @@ if __name__ == "__main__":
print("Number of leaves:", n1) print("Number of leaves:", n1)
print("Number of roots:", n2) print("Number of roots:", n2)
if args.gv:
A = nx_agraph.to_agraph(G)
partition_graph_date(A, G.graph["e_overestim"])
A.write("eddy_graph.gv")
print('Created file "eddy_graph.gv".')
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
"Report_graph_cyclo": { "Report_graph_cyclo": {
"command": [ "command": [
"$src_dir/Overlap/Analysis/report_graph.py", "$src_dir/Overlap/Analysis/report_graph.py",
"--gv",
"--merging", "--merging",
"$tests_old_dir/EGr2nd15md4np3_cyclo/edgelist.csv" "$tests_old_dir/EGr2nd15md4np3_cyclo/edgelist.csv"
] ]
...@@ -10,7 +9,6 @@ ...@@ -10,7 +9,6 @@
"Report_graph_anti": { "Report_graph_anti": {
"command": [ "command": [
"$src_dir/Overlap/Analysis/report_graph.py", "$src_dir/Overlap/Analysis/report_graph.py",
"--gv",
"--merging", "--merging",
"$tests_old_dir/EGr2nd15md4np3/edgelist.csv" "$tests_old_dir/EGr2nd15md4np3/edgelist.csv"
] ]
...@@ -27,7 +25,6 @@ ...@@ -27,7 +25,6 @@
"Report_graph_int": { "Report_graph_int": {
"command": [ "command": [
"$src_dir/Overlap/Analysis/report_graph.py", "$src_dir/Overlap/Analysis/report_graph.py",
"--gv",
"--merging", "--merging",
"$tests_old_dir/Graph_from_Matlab_v6_anti/edgelist.csv" "$tests_old_dir/Graph_from_Matlab_v6_anti/edgelist.csv"
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment