Thomas 3 năm trước cách đây
mục cha
commit
3c357223ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

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