From 77f43e1fe4e3e551d4cb1fefcdeac3a633a30f5b Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Thu, 14 Apr 2022 18:00:45 +0200 Subject: [PATCH] Remove useless arguments to `load_graph_from_csv` They had the default values. --- gt_segmentation.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gt_segmentation.py b/gt_segmentation.py index 79812cc0..de47e8ca 100755 --- a/gt_segmentation.py +++ b/gt_segmentation.py @@ -26,7 +26,10 @@ import sys if len(sys.argv) != 2: sys.exit("Required argument: 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') -- GitLab