From 5acdbca8ce92ba5ecafb0949915f1ffd3896776e Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Fri, 20 Mar 2020 11:48:50 -0500
Subject: [PATCH] Updated exit message.

---
 workflow/scripts/calculateTPM.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/workflow/scripts/calculateTPM.R b/workflow/scripts/calculateTPM.R
index 18fd75a..d4851d4 100644
--- a/workflow/scripts/calculateTPM.R
+++ b/workflow/scripts/calculateTPM.R
@@ -10,7 +10,7 @@ rm(option_list)
 if (!("count" %in% names(opt))){
   stop("No count file passed, exiting.")
 } else if (!file.exists(opt$count)) {
-  stop("No count file passed, exiting.")
+  stop("Count file doesn't exist, exiting.")
 }
 
 repRID <- basename(gsub(".featureCounts","",opt$count))
-- 
GitLab