From 0bd597e201b39fbcbc1fcd7047f7654a9713a197 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Fri, 20 Sep 2024 15:38:20 +0200 Subject: [PATCH] rename channel --- src/workflows/run_benchmark/main.nf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/workflows/run_benchmark/main.nf b/src/workflows/run_benchmark/main.nf index e4f8f5b..a6dba16 100644 --- a/src/workflows/run_benchmark/main.nf +++ b/src/workflows/run_benchmark/main.nf @@ -160,7 +160,7 @@ workflow run_wf { // TODO: can we store everything below in a separate helper function? // extract the dataset metadata - dataset_meta_ch = dataset_ch + meta_ch = dataset_ch // only keep one of the normalization methods | filter{ id, state -> state.rna_norm == "log_cp10k" @@ -204,7 +204,7 @@ workflow run_wf { // merge all of the output data output_ch = score_ch - | mix(dataset_meta_ch) + | mix(meta_ch) | joinStates{ ids, states -> def mergedStates = states.inject([:]) { acc, m -> acc + m } [ids[0], mergedStates] @@ -212,4 +212,4 @@ workflow run_wf { emit: output_ch -} \ No newline at end of file +}