Thomas 2 years ago
parent
commit
4c83f1ee92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -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(())