diff --git a/conf/modules.config b/conf/modules.config index f772918..f91bdce 100644 --- a/conf/modules.config +++ b/conf/modules.config @@ -181,9 +181,9 @@ process { ] } - withName: CLEAN_PREVIEW_HTML { + withName: EXTRACT_PREVIEW_DATA { publishDir = [ - path: { "${params.outdir}/${params.mode}/utility/clean_html/" }, + path: { "${params.outdir}/${params.mode}/utility/preview_data/" }, mode: params.publish_dir_mode, ] } diff --git a/modules/local/utility/clean_html/templates/clean_html.py b/modules/local/utility/clean_html/templates/clean_html.py deleted file mode 100644 index aca53be..0000000 --- a/modules/local/utility/clean_html/templates/clean_html.py +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env python3 - -from bs4 import BeautifulSoup -from pathlib import Path - -def clean_preview_html(input_html, output_mqc_html, height=800): - """ - 1. Cleans the Baysor preview HTML by removing the
containing -

Content

and the