diff --git a/src/main-functions/group_bam2isoform.cpp b/src/main-functions/group_bam2isoform.cpp index 25e7a50..c0d22f0 100755 --- a/src/main-functions/group_bam2isoform.cpp +++ b/src/main-functions/group_bam2isoform.cpp @@ -141,11 +141,12 @@ void group_bam2isoform( const std::string &raw_gff3) { // random seed stuff here - // if (!file_exists(bam_in + ".bai")) { - // // Rcpp::stop("Can not find corresponding .bai file %s. Cancelling group_bam2isoform.\n", bam_in); - // Rcpp::Rcout << "Can not find corresponding .bai file " << bam_in << ". Cancelling group_bam2isoform.\n"; - // return; - // } + if (false) { + // if (!file_exists(bam_in + ".bai")) { // WE CAN'T CHECK THIS AS THIS IS AN ABORT STATEMENT APPARENTLY + Rcpp::stop("Can not find corresponding .bai file %s. Cancelling group_bam2isoform.\n", bam_in); + // Rcpp::Rcout << "Can not find corresponding .bai file " << bam_in << ". Cancelling group_bam2isoform.\n"; + return; + } // import all the values of fa_f const std::unordered_map fa_dict = get_fa_dict(fa_file);