Skip to content

Commit

Permalink
Update merge_input process for deterministic behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
AmstlerStephan committed Jun 20, 2024
1 parent 2204535 commit 9ccf39b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/processes/merge_input.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ process MERGE_FASTQ {
catfishq \
--min-length ${params.min_read_length} \
--min-qscore ${params.min_qscore} \
${sample} > ${merged_fastq}
${sample}/* > ${merged_fastq}
"""
}
4 changes: 2 additions & 2 deletions tests/lib/processes/merge_input.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ nextflow_process {
}
process {
"""
input[0] = Channel.from("$baseDir/tests/input/merge_fastq/").collect(sort: true)
input[0] = Channel.from("$baseDir/tests/input/merge_fastq/")
"""
}
}
Expand All @@ -35,7 +35,7 @@ nextflow_process {
}
process {
"""
input[0] = Channel.from("$baseDir/tests/input/merge_fastq/").collect(sort: true)
input[0] = Channel.from("$baseDir/tests/input/merge_fastq/").view()
"""
}
}
Expand Down
10 changes: 5 additions & 5 deletions tests/lib/processes/merge_input.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@
[
"merge_fastq",
"target",
"merged.fastq:md5,226ecd48aa7c4b401dcbb0a3fe771365"
"merged.fastq:md5,1a65a32bc2d389105716ebebf13a3d40"
]
],
"merged_fastq": [
[
"merge_fastq",
"target",
"merged.fastq:md5,226ecd48aa7c4b401dcbb0a3fe771365"
"merged.fastq:md5,1a65a32bc2d389105716ebebf13a3d40"
]
]
}
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "23.10.0"
"nf-test": "0.9.0-rc2",
"nextflow": "24.05.0"
},
"timestamp": "2024-03-12T11:17:41.974206"
"timestamp": "2024-06-20T16:09:39.595045"
}
}

0 comments on commit 9ccf39b

Please sign in to comment.