From c957f84c82eaa833f8afd436b3bc127d50d77d5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Todor=20Kondi=C4=87?= <todor.kondic@uni.lu>
Date: Thu, 14 Nov 2019 10:19:55 +0100
Subject: [PATCH] Diagnose preproc issues

---
 R/mix.R | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/R/mix.R b/R/mix.R
index 1c1f397..f803c55 100644
--- a/R/mix.R
+++ b/R/mix.R
@@ -718,7 +718,8 @@ preProc <- function (fnFileTab,lCmpdList,fnDest=paste(stripext(fnFileTab),"_cand
         eic <- NULL
         maxInt <- NULL
         if (length(fn_eic)==0) {
-            warning("No file for id",id,"does not exist. Skipping.")
+            message("wd: ",wd,"fn_eic: ",fn_eic)
+            warning("No file for id ",id," . Skipping.")
             next
         }
         eic <- read.csv(fn_eic, sep = ",", stringsAsFactors = F,comment.char='')
-- 
GitLab