Skip to content

Commit

Permalink
Merge pull request #182 from smithlabcode/amrfinder-no-threads-decomp…
Browse files Browse the repository at this point in the history
…ression

amrfinder no threaded io
  • Loading branch information
andrewdavidsmith authored Nov 6, 2023
2 parents c75c530 + 5f79dfc commit 2264b43
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 2264b43

Please sign in to comment.