def test_score(): """MotifMatchResult scoring""" m = Motif(polymorphisms=(p1,)) mmo = MotifMatchObject(m, match=1) mq = MotifQuery(all_polymorphisms=(p1,p2), defining_polymorphisms=(p1,)) mmr = MotifMatchResult(mq, [mmo]) mmr.score()
def test_score(): """MotifMatchResult scoring""" m = Motif(polymorphisms=(p1,)) mmo = MotifMatchObject(m, match=1) mq = MotifQuery(all_polymorphisms=(p1,p2), defining_polymorphisms=(p1,)) mmr = MotifMatchResult(mq, [mmo]) mmr.score()