Skip to content

Commit 517751d

Browse files
jonasscheidclaude
andcommitted
Remove meta propagation in speclib global grouping to not break groupTuple
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 41694ce commit 517751d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subworkflows/local/speclib/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ workflow SPECLIB {
4141
// Generate spectrum library for all MSruns in the samplesheet
4242
if (params.global_fdr) {
4343
EASYPQP_CONVERT.out.psmpkl
44-
.map { meta, psmpkl -> [meta + [id: meta.search_preset ?: 'global'], psmpkl] }
44+
.map { meta, psmpkl -> [[id: meta.search_preset ?: 'global'], psmpkl] }
4545
.groupTuple()
4646
.set { ch_global_psmpkl }
4747
EASYPQP_CONVERT.out.peakpkl
48-
.map { meta, peakpkl -> [meta + [id: meta.search_preset ?: 'global'], peakpkl] }
48+
.map { meta, peakpkl -> [[id: meta.search_preset ?: 'global'], peakpkl] }
4949
.groupTuple()
5050
.set { ch_global_peakpkl }
5151
EASYPQP_LIBRARY_GLOBAL(ch_global_psmpkl.join(ch_global_peakpkl))

0 commit comments

Comments
 (0)