Skip to content

Commit

Permalink
store original id (openproblems-bio#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood authored Jun 1, 2024
1 parent 408e292 commit 1dca6d5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/task/workflows/run_stability_analysis/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ workflow run_wf {
return (1..state.bootstrap_num_replicates).collect{ idx ->
[
"${id}-bootstrap${idx}",
state + [replicate: idx]
state + [
replicate: idx,
_meta: [join_id: id]
]
]
}
}
Expand Down Expand Up @@ -70,7 +73,7 @@ workflow run_wf {
]
)

| setState(["scores"])
| setState(["scores", "_meta"])

emit:
output_ch
Expand Down

0 comments on commit 1dca6d5

Please sign in to comment.