From fdc76ce54163c724700189ebb244541ddacc2900 Mon Sep 17 00:00:00 2001 From: Fize Jacques <jacques.fize@cirad.fr> Date: Mon, 25 Jan 2021 11:50:52 +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 2f6f541..c9d9425 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.exists(OUTPUT_DIR): +if not os.path.exists(OUTPUT_DIR): raise FileExistsError("Output directory does not exists !") parameters = { -- GitLab