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

Remove useless arguments to `load_graph_from_csv`

They had the default values.
parent a615a555
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,10 @@ import sys ...@@ -26,7 +26,10 @@ import sys
if len(sys.argv) != 2: sys.exit("Required argument: edgelist-file") if len(sys.argv) != 2: sys.exit("Required argument: edgelist-file")
print('Loading edgelist file...') print('Loading edgelist file...')
g = graph_tool.load_graph_from_csv(sys.argv[1], skip_first=False, directed=True, hashed=True, eprop_names=['nl_cost_function'], csv_options={'delimiter': ' ', 'quotechar': '"'}) g = graph_tool.load_graph_from_csv(sys.argv[1],
directed = True,
eprop_names = ['nl_cost_function'],
csv_options = {'delimiter': ' '}
print('Loading done') print('Loading done')
......
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