Skip to content

Commit

Permalink
grop instead of project in a single place
Browse files Browse the repository at this point in the history
Co-authored-by: Adrien Coulier <[email protected]>
  • Loading branch information
alneberg and Aratz authored Mar 20, 2024
1 parent 56e01a0 commit 6c94332
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] ]
Expand Down

0 comments on commit 6c94332

Please sign in to comment.