Skip to content

Commit

Permalink
Fix Alignment test (#913)
Browse files Browse the repository at this point in the history
* Fix Alignment test

* Fix cigar
  • Loading branch information
Jay Carey authored May 16, 2023
1 parent 740fbc8 commit 84a99c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ class AlignmentTest extends UnitSpec {
+AACCGGGT
""".stripMargin('+').trim.linesIterator.toSeq

Seq("8M", "6=1X2=").foreach { cigar =>
val alignment = Alignment(expected.head.replace("-", ""), expected.last.replace("-", ""), 1, 1, Cigar("8M"), 1)
Seq("8M", "6=1X1=").foreach { cigar =>
val alignment = Alignment(expected.head.replace("-", ""), expected.last.replace("-", ""), 1, 1, Cigar(cigar), 1)
alignment.paddedString() shouldBe expected
}
}
Expand Down

0 comments on commit 84a99c6

Please sign in to comment.