From 98c578fa35fa29198fdddc3be71df8cea92da448 Mon Sep 17 00:00:00 2001
From: Kappes Marques Rodrigo <rodrigo.kappes@student-cs.fr>
Date: Thu, 30 Jan 2020 09:38:08 +0100
Subject: [PATCH] Cleaned more the overall code

---
 __pycache__/RotTable.cpython-37.pyc | Bin 2578 -> 2578 bytes
 algogenetique.py                    |   8 ++------
 population.py                       |   3 +++
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/__pycache__/RotTable.cpython-37.pyc b/__pycache__/RotTable.cpython-37.pyc
index d0d2bee9e71c849781de9a96c497f02788ecaaf7..97c7b449f729cb4937feb17325b1d5876ee76f4e 100644
GIT binary patch
delta 103
zcmbOvGD(EjiI<m)fq{XcVX{$N??zq@Rz}CoVyxke{GJR948>q6Mjl2!rpYyIk&Ho;
zud$UfhEDcjFJ+9MY{MZj`4)R3W71?Bj#|dl$-6jCFtSc=<}~Ky;Nalk<Y4CDn!KMg
F7yxo87asrs

delta 103
zcmbOvGD(EjiI<m)fq{X+(bF)_c_S|eE2H&hG1hQKerE;-hGMW3BM&1V<K!B)NJj6;
z*VsxK{U-acmoi3Aw&9SNe2YDiF>bOAM=fLG<Xs#m7+EGaa~g9pbASLd2k+$loWTGf
CwH6=%

diff --git a/algogenetique.py b/algogenetique.py
index 8c65c4a..b2457f9 100644
--- a/algogenetique.py
+++ b/algogenetique.py
@@ -15,14 +15,10 @@ start_time = time.time()
 
 
 def main(N,tmax,pmutation, proportion):
-
-    #Setting up initial variables
-    L=[]
-    lineList = [line.rstrip('\n') for line in open("plasmid_8k.fasta")]
-    brin = ''.join(lineList[1:])
-
+    
     #Creation of the initial population
     People=Population(N)
+    L=[]
 
     #Evaluating the initial population for the histogram
     S1=[]
diff --git a/population.py b/population.py
index fbb42ef..c576750 100644
--- a/population.py
+++ b/population.py
@@ -4,7 +4,10 @@ from RotTable import RotTable
 from croisement import croisement_un_point, croisement_deux_points
 import copy
 
+
 class Population:
+    '''A class of the ensemble of individuals and the methods associated with them,such as reproduction and different types of selections'''
+
 
     #Class initialization
     def __init__(self,n):
-- 
GitLab