From bfe6bebc004db12ba9dfefdfc436da91312f77d7 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Tue, 2 Mar 2021 12:14:37 -0600
Subject: [PATCH] Fix ends force

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

diff --git a/rna-seq.nf b/rna-seq.nf
index 478b742..cfa6ab1 100644
--- a/rna-seq.nf
+++ b/rna-seq.nf
@@ -266,7 +266,7 @@ process getData {
     echo -e "LOG: unzipped" >> ${repRID}.getData.log
 
     # bag fetch fastq's only and rename by repRID
-    if [ "${params.fastqsForce}" != "" ]
+    if [ "${params.endsForce}" != "" ]
     then
       echo -e "LOG: fetching replicate bdbag" >> ${repRID}.getData.log
       fastqCount=\$(sh ${script_bdbagFetch} \${replicate::-13} ${repRID})
@@ -302,7 +302,7 @@ if (fastqsForce != "") {
       fastqs_parseMetadata
       fastqs_fastqc
     }
-  fastqsForce.count().into{
+  fastqsForce.count().into {
     fastqCount
   }
 } else {
-- 
GitLab