Skip to content

Commit

Permalink
feat: move progress bar into bamchunk iterator, unify progress bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvollger committed Jul 31, 2023
1 parent d0a80ac commit 0207066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bio-io/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ pub struct BamChunk<'a> {

impl<'a> BamChunk<'a> {
pub fn new(bam: bam::Records<'a, bam::Reader>, chunk_size: Option<usize>) -> Self {
let chunk_size = chunk_size.unwrap_or_else(|| current_num_threads() * 250);
let chunk_size = chunk_size.unwrap_or_else(|| current_num_threads() * 100);
let bar = no_length_progress_bar();
Self {
bam,
Expand Down

0 comments on commit 0207066

Please sign in to comment.