Skip to content

Commit

Permalink
amrfinder: removing the multithreaded decompression from the input fi…
Browse files Browse the repository at this point in the history
…le because it seems to be crashing
  • Loading branch information
andrewdavidsmith committed Nov 6, 2023
1 parent c75c530 commit 5f79dfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/amrfinder/amrfinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,10 +468,10 @@ main_amrfinder(int argc, const char **argv) {
const auto epistat =
EpireadStats(low_prob, high_prob, critical_value, max_itr, use_bic);

bamxx::bam_tpool tp(n_threads);
// bamxx::bam_tpool tp(n_threads);
bgzf_file in(reads_file, "r");
if (!in) throw runtime_error("failed to open input file: " + reads_file);
if (n_threads > 1) tp.set_io(in);
// if (n_threads > 1) tp.set_io(in);

vector<GenomicRegion> amrs;

Expand Down

0 comments on commit 5f79dfc

Please sign in to comment.