From 51e6d0db7473ede201ad1cf32b35859359ec2e42 Mon Sep 17 00:00:00 2001 From: szhan Date: Thu, 20 Jun 2024 18:05:56 +0100 Subject: [PATCH] Fix typos --- python/tests/test_haplotype_matching.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/tests/test_haplotype_matching.py b/python/tests/test_haplotype_matching.py index 6efb41d93b..17e12bcf27 100644 --- a/python/tests/test_haplotype_matching.py +++ b/python/tests/test_haplotype_matching.py @@ -1095,7 +1095,7 @@ def check_viterbi(ts, h, recombination=None, mutation=None): ll_check = ls.path_loglik( reference_panel=G, query=s, - num_allele=num_alleles, + num_alleles=num_alleles, path=path_tree, prob_recombination=recombination, prob_mutation=mutation, @@ -1182,7 +1182,7 @@ def check_backward_matrix(ts, h, forward_cm, recombination=None, mutation=None): num_alleles = ls.core.get_num_alleles(G, s) B = ls.backwards( - reference_pane=G, + reference_panel=G, query=h.reshape(1, m), num_alleles=num_alleles, normalisation_factor_from_forward=forward_cm.normalisation_factor,