From 20fc2bf003487488a99c0545204ac63997f448e0 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Mon, 4 Jan 2021 15:17:25 -0600
Subject: [PATCH] Try and fix error finalize execution run

---
 workflow/rna-seq.nf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf
index 31fec91..df26b7a 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -1883,10 +1883,11 @@ process uploadOutputBag {
 }
 
 // Extract output bag RID into channel
-outputBagRID = Channel.of(false)
+outputBagRID = Channel.create()
 outputBagRID_fl.splitCsv(sep: ",", header: false).separate(
   outputBagRID
 )
+outputBagRID.ifEmpty(false)
 
 /* 
  * finalizeExecutionRun: finalizes the execution run
-- 
GitLab