From 8ce34674e69f529da39a73843ed9924170122e85 Mon Sep 17 00:00:00 2001
From: "kathleen.moriarty" <kathleen.moriarty@unibas.ch>
Date: Fri, 3 Dec 2021 23:42:11 +0100
Subject: [PATCH] added type annotation

---
 src/read_sequencing.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/read_sequencing.py b/src/read_sequencing.py
index e411e10..29ba72e 100644
--- a/src/read_sequencing.py
+++ b/src/read_sequencing.py
@@ -34,13 +34,14 @@ def read_sequencing(
     # Import classes
     from random import choices, randrange
     import numpy as np
+    from typing import List
 
     # Read data from terminal fragment file
     # Store fragments in a list
 
     f = open(frag_file_name, "r")
     frag_line = f.readline()
-    frag_list = []
+    frag_list = []  # type: List[str]
     frag_str = ""
     while frag_line != "":
         # To stop when the end of file is reached
-- 
GitLab