Skip to content

Commit

Permalink
drop the bridge par
Browse files Browse the repository at this point in the history
  • Loading branch information
WardDeb committed Jan 27, 2025
1 parent 3515c83 commit 3c59ac4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/covcalc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ pub fn bam_pileup<'a>(
readlens.push(record.seq_len() as u32);
}
}
let indices: HashSet<usize> = record.aligned_blocks()
.par_bridge()
let indices: HashSet<usize> = record
.aligned_blocks()
.filter(|x| (x[1] as u32) < region.2)
.flat_map(|x| x[0] as u32..x[1] as u32)
.map(|x| (x / binsize) as usize)
Expand Down

0 comments on commit 3c59ac4

Please sign in to comment.