Remove find_html_files function

This commit is contained in:
coolneng 2021-12-22 18:36:13 +01:00
parent e826d6f92b
commit fa23b1a950
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 4 deletions

View File

@ -6,9 +6,6 @@ from re import sub
from pandas import DataFrame, read_html, Series 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]: def extract_adapters(files) -> Tuple[Series, List]:
@ -51,7 +48,7 @@ def parse_arguments():
def main(): def main():
args = parse_arguments() args = parse_arguments()
file_list = find_html_files(args.input) file_list = glob(args.input + "/*fastqc.html")
adapters, stats = extract_adapters(file_list) adapters, stats = extract_adapters(file_list)
save_to_file(args.output, adapters) save_to_file(args.output, adapters)
print( print(