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(