Skip to content

Commit 6c94332

Browse files
alnebergAratz
andauthored
grop instead of project in a single place
Co-authored-by: Adrien Coulier <[email protected]>
1 parent 56e01a0 commit 6c94332

File tree

1 file changed

+1
-1
lines changed
  • subworkflows/local/utils_nfcore_seqinspector_pipeline

1 file changed

+1
-1
lines changed

subworkflows/local/utils_nfcore_seqinspector_pipeline/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ workflow PIPELINE_INITIALISATION {
8484
.fromSamplesheet("input") // Validates samplesheet against $projectDir/assets/schema_input.json. Path to validation schema is defined by $projectDir/nextflow_schema.json
8585
.map {
8686
meta, fastq_1, fastq_2 ->
87-
def id_string = "${meta.sample}_${meta.group ?: "ungrouped"}_${meta.lane}"
87+
def id_string = "${meta.sample}_${meta.project ?: "ungrouped"}_${meta.lane}"
8888
def updated_meta = meta + [ id: id_string ]
8989
if (!fastq_2) {
9090
return [ updated_meta.id, updated_meta + [ single_end:true ], [ fastq_1 ] ]

0 commit comments

Comments
 (0)