From 46772889932cfe6ae1d00e0002252ce1279406d5 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Tue, 2 Mar 2021 12:24:03 -0600
Subject: [PATCH] Fix endsForce test

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

diff --git a/rna-seq.nf b/rna-seq.nf
index cfa6ab1..029795c 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.endsForce}" != "" ]
+    if [ "${params.endsForce}" == "" ]
     then
       echo -e "LOG: fetching replicate bdbag" >> ${repRID}.getData.log
       fastqCount=\$(sh ${script_bdbagFetch} \${replicate::-13} ${repRID})
-- 
GitLab