From 0a039ddeb2e4460438f1a88b6ac65e1b58230dc9 Mon Sep 17 00:00:00 2001
From: Gael <Gael@WL20-0067.corp.pasteur.fr>
Date: Mon, 26 Apr 2021 22:14:38 +0200
Subject: [PATCH] release v14.2.0

---
 README.md             | 5 +++++
 cnr_curation_voc_qc.R | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 7895b3a5..ea55c5b0 100644
--- a/README.md
+++ b/README.md
@@ -197,6 +197,11 @@ Hub-CDB and Institut Pasteur
 ## WHAT'S NEW IN
 
 
+### v14.2.0
+
+1) One bug removed
+
+
 ### v14.1.0
 
 1) One bug removed
diff --git a/cnr_curation_voc_qc.R b/cnr_curation_voc_qc.R
index 3761cc5e..1206d41e 100644
--- a/cnr_curation_voc_qc.R
+++ b/cnr_curation_voc_qc.R
@@ -247,7 +247,7 @@ file.import.fun <- function(
     script_fun
 ){
     if( ! file.exists(paste0(in.path_fun, "/", path_fun, "/", sample_fun, file_fun))){
-        stop(paste0("FILE DOES NOT EXISTS:\n", voc.file.path))
+        stop(paste0("FILE DOES NOT EXISTS:\n", paste0(in.path_fun, "/", path_fun, "/", sample_fun, file_fun)))
     }
     output <- read.table(gzfile(paste0(in.path_fun, "/", path_fun, "/", sample_fun, file_fun)), header = FALSE, sep = "\t", stringsAsFactors = FALSE, comment.char = "#", check.names = FALSE, colClasses = "character") # cannot take the header because it starts by a #
     if(ncol(output) != 10){
-- 
GitLab