From e19fa434166425353960b0b6a450fa42acd1e426 Mon Sep 17 00:00:00 2001 From: Nihama Sandra Ayumi <sandra.nihama@student-cs.fr> Date: Tue, 28 Jan 2020 09:28:17 +0100 Subject: [PATCH] comments added in RotTable --- RotTable.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RotTable.py b/RotTable.py index 5ca40c3..ae014b4 100644 --- a/RotTable.py +++ b/RotTable.py @@ -24,13 +24,15 @@ class RotTable: "TT": [35.62, 7.2, -154, 0.06, 0.6, 0]\ } + # get the angles in each axis (x, y, z), considering a deviation def __init__(self): self.rot_table = {} for dinucleotide in RotTable.__ORIGINAL_ROT_TABLE: self.rot_table[dinucleotide] = RotTable.__ORIGINAL_ROT_TABLE[dinucleotide][:3] self.alea() - + # considering the errors (last 3 columns of __ORIGINAL_ROT_TABLE), + # add random error to the "mean value" of the angles of each axis def alea(self): for dinucleotide in RotTable.__ORIGINAL_ROT_TABLE: for i in range(2): -- GitLab