From ba7dc38a1eea3607c3c0517284d7cbce7577de0c Mon Sep 17 00:00:00 2001
From: Kappes Marques Rodrigo <rodrigo.kappes@student-cs.fr>
Date: Tue, 28 Jan 2020 08:55:52 +0100
Subject: [PATCH] added the rot_table to master

---
 RotTable.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/RotTable.py b/RotTable.py
index b7ee23f..5ca40c3 100644
--- a/RotTable.py
+++ b/RotTable.py
@@ -25,23 +25,23 @@ class RotTable:
         }
 
     def __init__(self):
-        self.Rot_Table = {}
+        self.rot_table = {}
         for dinucleotide in RotTable.__ORIGINAL_ROT_TABLE:
-            self.Rot_Table[dinucleotide] = RotTable.__ORIGINAL_ROT_TABLE[dinucleotide][:3]
+            self.rot_table[dinucleotide] = RotTable.__ORIGINAL_ROT_TABLE[dinucleotide][:3]
         self.alea()
 
     
     def alea(self):
         for dinucleotide in RotTable.__ORIGINAL_ROT_TABLE:
             for i in range(2):
-                self.Rot_Table[dinucleotide][i] += numpy.random.uniform(low = -RotTable.__ORIGINAL_ROT_TABLE[dinucleotide][i+3], high= RotTable.__ORIGINAL_ROT_TABLE[dinucleotide][i+3]) 
+                self.rot_table[dinucleotide][i] += numpy.random.uniform(low = -RotTable.__ORIGINAL_ROT_TABLE[dinucleotide][i+3], high= RotTable.__ORIGINAL_ROT_TABLE[dinucleotide][i+3]) 
 
 
     ###################
     # WRITING METHODS #
     ###################
-#table = RotTable()
-#table.__Rot_Table["AA"] --> [35.62, 7.2, -154]
+    #table = RotTable()
+    #table.rot_table["AA"] --> [35.62, 7.2, -154]
 
     ###################
     # READING METHODS #
@@ -59,4 +59,4 @@ class RotTable:
     ###################
 
 table1 = RotTable()
-print(table1.Rot_Table["AA"])
+print(table1.rot_table["AA"])
-- 
GitLab