From 813ea54407d4e246a29bf847cfce1bcdd603ff98 Mon Sep 17 00:00:00 2001
From: Amandine PERRIN <amandine.perrin@pasteur.fr>
Date: Thu, 16 Dec 2021 09:20:54 +0100
Subject: [PATCH] tol parameter is a float, not int

---
 PanACoTA/subcommands/all_modules.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PanACoTA/subcommands/all_modules.py b/PanACoTA/subcommands/all_modules.py
index f0a18b1d..b696baf2 100644
--- a/PanACoTA/subcommands/all_modules.py
+++ b/PanACoTA/subcommands/all_modules.py
@@ -551,7 +551,7 @@ def get_corepers(dict_argv):
     conf_conffile.set_boolean("corepers", "mixed")
     conf_conffile.set_boolean("corepers", "multi")
     conf_conffile.set_int("corepers", "verbose")
-    conf_conffile.set_int("corepers", "tol")
+    conf_conffile.set_float("corepers", "tol")
     conf_conffile.set_int("corepers", "threads")
     corepers_dict = conf_conffile.get_section_dict("corepers")
     return corepers_dict
-- 
GitLab