From 00a0857b9292d15f65fa99fb853282367e0bfb19 Mon Sep 17 00:00:00 2001 From: Maxime U Garcia Date: Wed, 2 Oct 2024 14:21:02 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: James A. Fellows Yates --- subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf b/subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf index 5d55ce0a8..cb051a38c 100644 --- a/subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf +++ b/subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf @@ -259,7 +259,7 @@ def validateInputParameters() { //General checks for if contaminant screening is used if (params.contaminant_screening) { if (params.aligner == 'star_rsem') { - error("Contaminant screeneing cannot be done with --aligner star_rsem since unaligned reads are not saved. Please use --aligner star_salmon or --aligner hisat2.") + error("Contaminant screening cannot be done with --aligner star_rsem since unaligned reads are not saved. Please use --aligner star_salmon or --aligner hisat2.") } } @@ -268,7 +268,7 @@ def validateInputParameters() { if (!params.kraken_db) { error("Contaminant screening set to kraken2 but not database is provided. Please provide a database with the --kraken_db option.") } - //Check that Kraken/Bracken parameters are not provided when Kraken2 is not being used + // Check that Kraken/Bracken parameters are not provided when Kraken2 is not being used } else { if (!params.bracken_precision.equals('S')) { brackenPrecisionWithoutKrakenDBWarn()