diff --git a/src/main.cpp b/src/main.cpp index c27ce38..7884ff5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,15 +1,19 @@ #include #include #include +#include #include #include #include #include -#include #include"tools.hpp" // std::string reversedComplement(std::string DNAsequence); +#define OPEN_IFS_AND_CHECK(file_path,value_name)std::ifstream value_name(file_path);if(value_name.is_open()==false){std::stringstream ss;ss<<"cannot open input file stream : "< - inline void check_fstream_isopen(const Args&...args)noexcept(false){ - bool is_open=true; - (((!args.is_open())?is_open=false:true),...); - if(is_open==false){ - throw std::runtime_error("cannot open file stream "); - } - } + // template + // inline void check_fstream_isopen(const Args&...args)noexcept(false){ + // bool is_open=true; + // (((!args.is_open())?is_open=false:true),...); + // if(is_open==false){ + // throw std::runtime_error("cannot open file stream "); + // } + // } } \ No newline at end of file