From 6c94332bf1ba3738e39c80031f6d83436a4832b4 Mon Sep 17 00:00:00 2001 From: Johannes Alneberg Date: Wed, 20 Mar 2024 09:16:32 +0100 Subject: [PATCH] grop instead of project in a single place Co-authored-by: Adrien Coulier --- subworkflows/local/utils_nfcore_seqinspector_pipeline/main.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subworkflows/local/utils_nfcore_seqinspector_pipeline/main.nf b/subworkflows/local/utils_nfcore_seqinspector_pipeline/main.nf index e1f8e4d..cdbb640 100644 --- a/subworkflows/local/utils_nfcore_seqinspector_pipeline/main.nf +++ b/subworkflows/local/utils_nfcore_seqinspector_pipeline/main.nf @@ -84,7 +84,7 @@ workflow PIPELINE_INITIALISATION { .fromSamplesheet("input") // Validates samplesheet against $projectDir/assets/schema_input.json. Path to validation schema is defined by $projectDir/nextflow_schema.json .map { meta, fastq_1, fastq_2 -> - def id_string = "${meta.sample}_${meta.group ?: "ungrouped"}_${meta.lane}" + def id_string = "${meta.sample}_${meta.project ?: "ungrouped"}_${meta.lane}" def updated_meta = meta + [ id: id_string ] if (!fastq_2) { return [ updated_meta.id, updated_meta + [ single_end:true ], [ fastq_1 ] ]