Skip to content

Commit

Permalink
back to more granular reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegenes committed May 8, 2024
1 parent 8af7b5f commit f2209de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/directsketch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,8 @@ pub async fn download_and_sketch(
let dna_sig_templates = build_siginfo(&params_vec, "DNA");
let prot_sig_templates = build_siginfo(&params_vec, "protein");

// report every 5 percent (or ever 1, whichever is larger)
let reporting_threshold = std::cmp::max(n_accs / 20, 1);
// report every 1 percent (or every 1, whichever is larger)
let reporting_threshold = std::cmp::max(n_accs / 100, 1);

for (i, accinfo) in accession_info.into_iter().enumerate() {
py.check_signals()?; // If interrupted, return an Err automatically
Expand Down

0 comments on commit f2209de

Please sign in to comment.