Thomas před 3 roky
rodič
revize
0738eb03f2
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      src/lib.rs

+ 1 - 2
src/lib.rs

@@ -339,7 +339,7 @@ impl SequencesGraph {
     }
 
     pub fn make_neo_contig (&self, stretch_id: usize) -> NeoContig {
-        let cons = String::from_utf8_lossy(&self.get_stretch_consensus(stretch_id)).to_string();
+        let cons = String::from_utf8_lossy(&self.get_stretch_consensus(stretch_id)).to_string().trim().to_string();
         
         let stretch = self.get_stretch_align(stretch_id);
 
@@ -428,7 +428,6 @@ impl NeoContig {
             // println!("{:?}", line);
             if line.len() > 8 {
                 if &line[0..9] == "sequence_" {
-                    
                     let mut qname: Option<String> = None;
                     let mut flag: Option<i32> = None;
                     let mut rname: Option<String> = None;