diff --git a/RotTable.py b/RotTable.py index e3486c1b21452cfed789090694fdb3d372884c98..1882a5fbdbed92bc89b22eeedab303a04f9cc8b0 100644 --- a/RotTable.py +++ b/RotTable.py @@ -21,7 +21,7 @@ class RotTable: "TA": [36, 0.9, 0, 1.1, 2, 0],\ "TC": [36.9, 5.3, -120, 0.9, 6, 0],\ "TG": [34.5, 3.5, 64, 0.9, 34, 0],\ - "TT": [35.62, 7.2, -154, 0.06, 0.6, 0]\ + "TT": [35.62, 7.2, 154, 0.06, 0.6, 0]\ } # get the angles in each axis (x, y, z), considering the deviation @@ -63,7 +63,7 @@ class RotTable: ################### -# table1 = RotTable() -# print(table1.orta()) +table1 = RotTable() +print(table1.orta()) -# print(table1.rot_table["AA"]) +print(table1.rot_table["AA"]) diff --git a/__pycache__/RotTable.cpython-37.pyc b/__pycache__/RotTable.cpython-37.pyc index f25daa2be78dfa969b59255077ce90b2f4993ff2..c4ba5fb8c0ad48c03b7f8a7c221b50aa6d3855e3 100644 Binary files a/__pycache__/RotTable.cpython-37.pyc and b/__pycache__/RotTable.cpython-37.pyc differ diff --git a/__pycache__/individu.cpython-37.pyc b/__pycache__/individu.cpython-37.pyc index 2b4fb59ee832eef9ce7a2733b2fce8db621d7883..1c9eaac8adf3f0912697d410ab3a2309c5c10947 100644 Binary files a/__pycache__/individu.cpython-37.pyc and b/__pycache__/individu.cpython-37.pyc differ diff --git a/population.py b/population.py index f3daad1c6d133392c6474d0923951837dfe7c6fb..5fe490a6d715086ff6e363f27c68d0f47d01110f 100644 --- a/population.py +++ b/population.py @@ -74,11 +74,7 @@ class Population: echanger(tableau,debut,randint(debut,fin-1)) partition=debut for i in range(debut+1,fin): -<<<<<<< HEAD - #if tableau[i] < tableau[debut]: -======= # if tableau[i] < tableau[debut]: ->>>>>>> ea595ada3becbb697c8735a8fbdc55f04e1606a2 if tableau[i].score<tableau[debut].score: partition+=1 echanger(tableau,i,partition)