From 94523d1efb60a7b53313249272137aa12a3e4ca3 Mon Sep 17 00:00:00 2001
From: Thomas Krannich <krannich479@googlemail.com>
Date: Wed, 16 Mar 2022 13:31:57 +0100
Subject: [PATCH] fixing file existence check

---
 src/argument_parsing.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/argument_parsing.h b/src/argument_parsing.h
index 879ec93..7add025 100644
--- a/src/argument_parsing.h
+++ b/src/argument_parsing.h
@@ -1584,10 +1584,10 @@ ArgumentParser::ParseResult checkInput(FindLocationsOptions &options){
         res = ArgumentParser::PARSE_ERROR;
     }
 
-    if (!exists(options.non_ref_bam)){
-        std::cerr << "ERROR: Non-reference reads input file \'" << options.non_ref_bam << "\' does not exist." << std::endl;
-        res = ArgumentParser::PARSE_ERROR;
-    }
+    //if (!exists(options.non_ref_bam)){
+    //    std::cerr << "ERROR: Non-reference reads input file \'" << options.non_ref_bam << "\' does not exist." << std::endl;
+    //    res = ArgumentParser::PARSE_ERROR;
+    //}
 
     return res;
 }
-- 
GitLab