From 2e094a9808f8ef22697e3d9ccfceb161c72c69b9 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Tue, 5 Jan 2021 16:21:26 -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 6d2d57e..d29490e 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -2210,7 +2210,7 @@ process failExecutionRun {
       pipelineError_details=\$(echo \${pipelineError_details}"|Species|${speciesMeta}|${speciesInfer}|\\n")
     fi
     pipelineError_details=\${pipelineError_details::-2}
-    rid=\$(python3 ${script_uploadExecutionRun_failExecutionRun} -r ${repRID} -w \${workflow} -g \${genome} -i ${inputBagRID} -s Error -d "\${pipelineError_details}" -o ${source} -c \${cookie} -u ${executionRunRID})
+    rid=\$(python3 ${script_uploadExecutionRun_failExecutionRun} -r ${repRID} -w \${workflow} -g \${genome} -i ${inputBagRID} -s Error -d \"\${pipelineError_details}\" -o ${source} -c \${cookie} -u ${executionRunRID})
     echo LOG: execution run RID marked as error - \${rid} >> ${repRID}.failExecutionRun.log
   fi
   """
-- 
GitLab