Skip to content
Snippets Groups Projects
Commit 9f1f9bd5 authored by Busson Loic's avatar Busson Loic
Browse files

merge

parent 9f687a6f
No related branches found
No related tags found
No related merge requests found
...@@ -89,13 +89,13 @@ class RotTable: ...@@ -89,13 +89,13 @@ class RotTable:
################### ###################
def getTwist(self, dinucleotide): def getTwist(self, dinucleotide):
return RotTable.__ORIGINAL_ROT_TABLE[dinucleotide][0] return self.rot_table[dinucleotide][0]
def getWedge(self, dinucleotide): def getWedge(self, dinucleotide):
return RotTable.__ORIGINAL_ROT_TABLE[dinucleotide][1] return self.rot_table[dinucleotide][1]
def getDirection(self, dinucleotide): def getDirection(self, dinucleotide):
return RotTable.__ORIGINAL_ROT_TABLE[dinucleotide][2] return self.rot_table[dinucleotide][2]
################### ###################
......
No preview for this file type
...@@ -15,10 +15,10 @@ def main(N,tmax,pmutation, proportion,brin="plasmid_8k.fasta"): ...@@ -15,10 +15,10 @@ def main(N,tmax,pmutation, proportion,brin="plasmid_8k.fasta"):
brin = ''.join(lineList[1:])''' brin = ''.join(lineList[1:])'''
L=[] L=[]
People=Population(N) People=Population(N)
print(People.indiv[0].table.rot_table) #print(People.indiv[0].table.rot_table)
print(People.indiv[1].table.rot_table) #print(People.indiv[1].table.rot_table)
print(People.indiv[2].table.rot_table) #print(People.indiv[2].table.rot_table)
print(People.indiv[3].table.rot_table) #print(People.indiv[3].table.rot_table)
for i in range(tmax): for i in range(tmax):
max=0 max=0
best=None best=None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment