From 0f7bf769378df7f0027442f4328d1cee8e736ec6 Mon Sep 17 00:00:00 2001 From: FriederikeHanssen Date: Wed, 12 Jan 2022 19:04:33 +0100 Subject: [PATCH] Update main.nf Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com> --- main.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.nf b/main.nf index 8baa938e..31daa7c0 100644 --- a/main.nf +++ b/main.nf @@ -98,7 +98,7 @@ if (params.input_paths){ if(params.index_files){ //Index files are provided if (params.cram_files) { - exit 1, "Parameter 'params.cram_files' isn't compatible with 'params.index_files'!\n" + exit 1, "Parameter 'params.cram_files' isn't compatible with '--index_files'!\n" } Channel.fromFilePairs(params.input, flat:true, checkIfExists:true) { file -> file.name.replaceAll(/.bam|.bai$/,'') }