From 2721b9e9975a5d5d20d6a2f819a2bec84e61fbe1 Mon Sep 17 00:00:00 2001 From: Fize Jacques <jacques.fize@cirad.fr> Date: Mon, 25 Jan 2021 11:50:09 +0100 Subject: [PATCH] Update --- generate_theoric_random_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_theoric_random_graph.py b/generate_theoric_random_graph.py index d2e1d91..2f6f541 100644 --- a/generate_theoric_random_graph.py +++ b/generate_theoric_random_graph.py @@ -27,7 +27,7 @@ def generate_sbm_prob_matrix(nb_of_blocks,prob_btw_block=0.1): GRAPH_SIZE = [50,75,100] OUTPUT_DIR = args.output_dir -if os.path.exist(OUTPUT_DIR): +if os.path.exists(OUTPUT_DIR): raise FileExistsError("Output directory does not exists !") parameters = { -- GitLab