@ -51,9 +51,10 @@ def get_ro_data(m, suffix):
def get_similarity_count(l, r):
cnt = 0
for (x, y) in COMPARSION_PAIR:
if l[x] == r[y]:
r_value = r[y].replace('*', '')
if l[x] == r_value:
cnt += 1
elif r[y] == 'Y/N' and l[x] in ('Y', 'N'):
elif r_value == 'Y/N' and l[x] in ('Y', 'N'):
return cnt