From ccda1ef6e70731f2a4ee4f4dda10686e9d7e5259 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Mon, 4 Jan 2021 19:21:56 -0600
Subject: [PATCH] Fix newline test

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

diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf
index 6c7b2e5..68ea88b 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -2003,12 +2003,12 @@ process failExecutionRun {
         endInfer="unknown"
       fi
       #pipelineError_details=\$(echo \${pipelineError_details}"Paired_End: submitted value = \\""\${endMeta}"\\" while inferred value = \\""\${endInfer}"\\". ")
-      pipelineError_details=\$(echo \${pipelineError_details}"|*Paired_End*|"\${endMeta}"|"\${endsInfer}"|\\n ")
+      pipelineError_details=\$(echo \${pipelineError_details}"|*Paired_End*|"\${endMeta}"|"\${endInfer}"|\\n ")
     fi
     if ${pipelineError_stranded}
     then
       #pipelineError_details=\$(echo \${pipelineError_details}"Strandedness: submitted value = \\"${strandedMeta}\\" while inferred value = \\"${strandedInfer}\\". ")
-      pipelineError_details=\$(echo \${pipelineError_details}"|*Strandedness*|${strandedMeta}|"${strandedInfer}|\\n ")
+      pipelineError_details=\$(echo \${pipelineError_details}"|*Strandedness*|${strandedMeta}|${strandedInfer}|\\n ")
     fi
     if ${pipelineError_spike}
     then
-- 
GitLab