From b3638e022c51068c74a3b2868351bab6115bdf84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Muller?= <chloe.muller@student-cs.fr> Date: Tue, 28 Jan 2020 09:53:15 +0100 Subject: [PATCH] retirer les print du fichier individu.py --- individu.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/individu.py b/individu.py index c13331e..88b9dc1 100644 --- a/individu.py +++ b/individu.py @@ -26,8 +26,8 @@ class Individu(): rot_computed = self.table.Rot_Table[last_name+first_name] rot_traj = first_nucleotide - last_nucleotide - print(rot_traj) - print(rot_computed) + # print(rot_traj) + # print(rot_computed) diff_angle = sum(abs(rot_computed - rot_traj)) self.score = 1/(distance + diff_angle) @@ -39,10 +39,10 @@ class Individu(): for coord in range(3): tir = random() if tir < proba : - print("mutation", doublet, coord) - print("table", table_rotations[doublet][coord]) + # print("mutation", doublet, coord) + # print("table", table_rotations[doublet][coord]) table_rotations[doublet][coord] =np.random.uniform(low = self.table.orta()[doublet][coord] - self.table.orta()[doublet][coord + 3], high = self.table.orta()[doublet][coord] + self.table.orta()[doublet][coord + 3]) - print("table", table_rotations[doublet][coord]) + # print("table", table_rotations[doublet][coord]) # individu1 = Individu(RotTable()) # print(individu1.table.rot_table) -- GitLab