Skip to content
Snippets Groups Projects
Commit 685f8b62 authored by Kathleen Moriarty's avatar Kathleen Moriarty Committed by Kathleen Moriarty
Browse files

added type annotation

parent 7bff934e
Branches
No related tags found
1 merge request!17Issue 7
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment