Skip to content
Snippets Groups Projects
Commit 8ce34674 authored by Kathleen Moriarty's avatar Kathleen Moriarty
Browse files

added type annotation

parent 11896ade
Branches
No related tags found
1 merge request!17Issue 7
Pipeline #13677 passed
...@@ -34,13 +34,14 @@ def read_sequencing( ...@@ -34,13 +34,14 @@ def read_sequencing(
# Import classes # Import classes
from random import choices, randrange from random import choices, randrange
import numpy as np import numpy as np
from typing import List
# Read data from terminal fragment file # Read data from terminal fragment file
# Store fragments in a list # Store fragments in a list
f = open(frag_file_name, "r") f = open(frag_file_name, "r")
frag_line = f.readline() frag_line = f.readline()
frag_list = [] frag_list = [] # type: List[str]
frag_str = "" frag_str = ""
while frag_line != "": while frag_line != "":
# To stop when the end of file is reached # To stop when the end of file is reached
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment