From 921a070efa78534c831030bda3b24ea8748daa2c Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Mon, 4 Jan 2021 20:05:22 -0600
Subject: [PATCH] Fix fail

---
 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 c1093f6..a815193 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -2014,7 +2014,7 @@ process failExecutionRun {
     then
       pipelineError_details=\$(echo \${pipelineError_details}"|Species|${speciesMeta}|${speciesInfer}|\\n")
     fi
-    pipelineError_details=\$(echo "\${pipelineError_details::-}")
+    pipelineError_details=\$(echo "\${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})
     echo LOG: execution run RID marked as error - \${rid} >> ${repRID}.finalizeExecutionRun.log
   fi
-- 
GitLab