From fa23b1a9503ea6309dbd696e95c8d1a1dd1be24b Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 22 Dec 2021 18:36:13 +0100 Subject: [PATCH] Remove find_html_files function --- parser.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/parser.py b/parser.py index 4111ff5..ea46e90 100644 --- a/parser.py +++ b/parser.py @@ -6,9 +6,6 @@ from re import sub from pandas import DataFrame, read_html, Series -def find_html_files(path) -> List: - file_list = glob(path + "/*fastqc.html") - return file_list def extract_adapters(files) -> Tuple[Series, List]: @@ -51,7 +48,7 @@ def parse_arguments(): def main(): args = parse_arguments() - file_list = find_html_files(args.input) + file_list = glob(args.input + "/*fastqc.html") adapters, stats = extract_adapters(file_list) save_to_file(args.output, adapters) print(