From 61804e2ac6fccc8af14a9002655ba62fa6dbc9c7 Mon Sep 17 00:00:00 2001 From: Mohammed Mahdi Date: Fri, 19 Apr 2024 16:59:09 +0900 Subject: [PATCH] Inclusion of targetName parameter to overide the default target parameter, which is null and now target --- main.nf | 2 +- nextflow.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.nf b/main.nf index 9cfe453..7802584 100644 --- a/main.nf +++ b/main.nf @@ -89,7 +89,7 @@ workflow { channel .value( params.target ) .map { filename -> file(filename, checkIfExists: true) } - .map { file_obj -> [ [id:'target'], file_obj] } + .map { file_obj -> [ [id:params.targetName], file_obj] } .set { ch_target } // diff --git a/nextflow.config b/nextflow.config index 023b756..158e35a 100644 --- a/nextflow.config +++ b/nextflow.config @@ -58,7 +58,7 @@ params { // Others added seed = null - targetName = null + targetName = 'target' // Schema validation default options validationFailUnrecognisedParams = false