Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Sep 13, 2023
1 parent 3830c64 commit 2f0f3ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/beagle.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def interpolate_allele_probabilities(sm, ref_h, genotyped_pos, imputed_pos):
rescaled_p = np.zeros_like(p)
for i in np.arange(x):
rescaled_p[i, :] = p[i, :] / np.sum(p[i, :])
return p
return rescaled_p


def get_map_alleles(allele_probs):
Expand Down

0 comments on commit 2f0f3ce

Please sign in to comment.