From 0a9869629a6551b899f2de40dd75f80e5e35e7ae Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Tue, 5 Jan 2021 16:26:44 -0600
Subject: [PATCH] Fix fail pre execution run

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

diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf
index a05eaee..6d4c1f4 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -2122,7 +2122,7 @@ process failPreExecutionRun {
   if [ "\${exist}" == "[]" ]
   then
     rid=\$(python3 ${script_uploadExecutionRun_failPreExecutionRun} -r ${repRID} -w \${workflow} -g \${genome} -i ${inputBagRID} -s Error -d "\${errorDetails}" -o ${source} -c \${cookie} -u F)
-    echo LOG: execution run RID uploaded - \${executionRun_rid} >> ${repRID}.failPreExecutionRun.log
+    echo LOG: execution run RID uploaded - \${rid} >> ${repRID}.failPreExecutionRun.log
   else
     rid=\$(echo \${exist} | grep -o '\\"RID\\":\\".*\\",\\"RCT')
     rid=\${rid:7:-6}
-- 
GitLab