Skip to content

Commit

Permalink
fix: clean up cli interactions with pileup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvollger committed Jul 18, 2024
1 parent f2adf3c commit e8da753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pileup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,11 @@ impl<'a> FiberseqPileup<'a> {
return Ok(());
}
let mut write_start_index = 0;
let mut write_end_index = 0;
let mut write_end_index = 1;
for i in 0..self.track_len {
// do we have the same data as the previous row?
if self.wait_to_write(i) {
write_end_index = i;
write_end_index = i + 1;
continue;
} else {
let mut line = format!(
Expand Down

0 comments on commit e8da753

Please sign in to comment.