Thomas %!s(int64=2) %!d(string=hai) anos
pai
achega
cd2171d70e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -680,7 +680,7 @@ impl Fasta {
             let fv = self.fa.view(chr_index, end - 2, start).expect("Cannot get .fa view");
             revcomp(&fv.to_string().to_uppercase())
         } else {
-            let fv = self.fa.view(chr_index, start - 1, end + 2).expect("Cannot get .fa view");
+            let fv = self.fa.view(chr_index, start - 1, end).expect("Cannot get .fa view");
             fv.to_string().to_uppercase()
         }
     }