Skip to content

Commit a595130

Browse files
committed
merge fix
1 parent 4918a25 commit a595130

File tree

1 file changed

+3
-2
lines changed
  • subworkflows/local/utils_nfcore_seqinspector_pipeline

1 file changed

+3
-2
lines changed

subworkflows/local/utils_nfcore_seqinspector_pipeline/main.nf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ workflow PIPELINE_INITIALISATION {
7474

7575
Channel
7676
.fromList(samplesheetToList(params.input, "${projectDir}/assets/schema_input.json"))
77+
.toList()
7778
.flatMap { it.withIndex().collect { entry, idx -> entry + "${idx+1}" } }
7879
.map {
7980
meta, fastq_1, fastq_2, idx ->
@@ -94,8 +95,8 @@ workflow PIPELINE_INITIALISATION {
9495
}
9596
}
9697
.groupTuple()
97-
.map { samplesheet ->
98-
validateInputSamplesheet(samplesheet)
98+
.map {
99+
validateInputSamplesheet(it) // Applies additional group validation checks that schema_input.json cannot do.
99100
}
100101
.transpose() // Replace the map below
101102
// .map {

0 commit comments

Comments
 (0)