@@ -356,7 +356,7 @@ impl Contig {
None,
Some(self.id.as_bytes()),
);
- out.write(&record)?;
+ let _ = out.write(&record);
}
rust_htslib::bam::index::build(path, None, rust_htslib::bam::index::Type::Bai, 1)?;
Ok(())