Skip to content

Commit

Permalink
Change file openoptions
Browse files Browse the repository at this point in the history
  • Loading branch information
hextraza committed Jan 18, 2025
1 parent 8930507 commit e6db4a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/process/bam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ pub fn process(
let file = OpenOptions::new()
.write(true)
.create(true)
.truncate(true)
.open(path)
.unwrap();
let buffered_writer = BufWriter::new(file);
Expand Down

0 comments on commit e6db4a8

Please sign in to comment.