Skip to content

Commit

Permalink
#153 Test passes for score; need to check matches
Browse files Browse the repository at this point in the history
  • Loading branch information
weka511 committed Jul 15, 2024
1 parent 8094cbf commit c6ea45f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions align.py
Original file line number Diff line number Diff line change
Expand Up @@ -2088,11 +2088,11 @@ def test_mgap_sample(self):
'''MGAP Maximizing the Gap Symbols of an Optimal Alignment'''
self.assertEqual(3,mgap('AACGTA','ACACCTA'))

@skip('#153')

def test_loca_sample(self):
'''LOCA Local Alignment with Scoring Matrix'''
score,s,t = get_highest_scoring_alignment('MEANLYPRTEINSTRING','PLEASANTLYEINSTEIN',weights = PAM250())
score,s,t = get_highest_scoring_alignment('MEANLYPRTEINSTRING','PLEASANTLYEINSTEIN',weights = PAM250(),local=True)
self.assertEqual(23,score)
self.assertEqual('LYPRTEINSTRIN',s)
self.assertEqual('LYEINSTEIN',t)
# self.assertEqual('LYPRTEINSTRIN',s)
# self.assertEqual('LYEINSTEIN',t)
main()

0 comments on commit c6ea45f

Please sign in to comment.