From f7903932502ca11b786d98502b884b217dc91d2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bertrand=20N=C3=A9ron?= <bneron@pasteur.fr>
Date: Tue, 8 Jun 2021 20:32:21 +0200
Subject: [PATCH] fix rev_comp2

---
 source/_static/code/rev_comp2.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/_static/code/rev_comp2.py b/source/_static/code/rev_comp2.py
index 92b6348..4e682a1 100644
--- a/source/_static/code/rev_comp2.py
+++ b/source/_static/code/rev_comp2.py
@@ -1,4 +1,4 @@
-import string
+
 
 def rev_comp(seq):
     """
@@ -8,6 +8,6 @@ def rev_comp(seq):
     reverse = seq[::-1]
     direct = 'acgtATCG'
     comp = 'tgcaTGCA'
-    table = string.maketrans(direct, comp)
+    table = str.maketrans(direct, comp)
     rev_comp = reverse.translate(table)
     return rev_comp
\ No newline at end of file
-- 
GitLab