From b5db20016556c225086c0bcc8b87dd0a319457db Mon Sep 17 00:00:00 2001 From: burri0000 <dominik.burri@unibas.ch> Date: Mon, 12 Jul 2021 13:58:52 +0200 Subject: [PATCH] add author information (#78) --- tests/input_files/config.mutliple_lanes.yml | 2 ++ tests/input_files/config.yaml | 2 ++ tests/input_files/config_alfa.yaml | 2 ++ workflow/Snakefile | 4 ++++ 4 files changed, 10 insertions(+) diff --git a/tests/input_files/config.mutliple_lanes.yml b/tests/input_files/config.mutliple_lanes.yml index 3d04a01..ada2c6b 100644 --- a/tests/input_files/config.mutliple_lanes.yml +++ b/tests/input_files/config.mutliple_lanes.yml @@ -10,4 +10,6 @@ report_description: "No description provided by user" report_logo: "../../images/logo.128px.png" report_url: "https://zavolan.biozentrum.unibas.ch/" + author_name: "NA" + author_email: "NA" ... diff --git a/tests/input_files/config.yaml b/tests/input_files/config.yaml index 853a8a7..f7a7410 100644 --- a/tests/input_files/config.yaml +++ b/tests/input_files/config.yaml @@ -10,4 +10,6 @@ report_description: "No description provided by user" report_logo: "../../images/logo.128px.png" report_url: "https://zavolan.biozentrum.unibas.ch/" + author_name: "NA" + author_email: "NA" ... diff --git a/tests/input_files/config_alfa.yaml b/tests/input_files/config_alfa.yaml index cdcfb8b..60c1e0a 100644 --- a/tests/input_files/config_alfa.yaml +++ b/tests/input_files/config_alfa.yaml @@ -9,4 +9,6 @@ report_description: "No description provided by user" report_logo: "../../images/logo.128px.png" report_url: "https://zavolan.biozentrum.unibas.ch/" + author_name: "NA" + author_email: "NA" ... diff --git a/workflow/Snakefile b/workflow/Snakefile index d46c511..5f2434e 100644 --- a/workflow/Snakefile +++ b/workflow/Snakefile @@ -1547,6 +1547,8 @@ rule prepare_multiqc_config: logo_path = config['report_logo'], multiqc_intro_text = config['report_description'], url = config['report_url'], + author_name = config['author_name'], + author_email = config['author_email'], additional_params = parse_rule_config( rule_config, current_rule=current_rule, @@ -1572,6 +1574,8 @@ rule prepare_multiqc_config: --intro-text '{params.multiqc_intro_text}' \ --custom-logo {params.logo_path} \ --url '{params.url}' \ + --author-name {params.author_name} \ + --author-email {params.author_email} \ {params.additional_params}) \ 1> {log.stdout} 2> {log.stderr}" -- GitLab