Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Feb 26, 2024
1 parent 4eb85ed commit d1ff60f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/tests/beagle_numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,8 @@ def run_interpolation_beagle(
typed_pos = pos[typed_idx]
untyped_pos = pos[untyped_idx]
# Get genetic map positions of markers.
typed_cm = convert_to_genetic_map_positions(typed_pos, genetic_map)
untyped_cm = convert_to_genetic_map_positions(untyped_pos, genetic_map)
typed_cm = convert_to_genetic_map_positions(typed_pos, genetic_map=genetic_map)
untyped_cm = convert_to_genetic_map_positions(untyped_pos, genetic_map=genetic_map)
# Subset haplotypes.
ref_h_typed = ref_h[typed_idx, :]
ref_h_untyped = ref_h[untyped_idx, :]
Expand Down Expand Up @@ -644,8 +644,8 @@ def run_tsimpute(
typed_pos = pos[typed_idx]
untyped_pos = pos[untyped_idx]
# Get genetic map positions of markers.
typed_cm = convert_to_genetic_map_positions(typed_pos, genetic_map)
untyped_cm = convert_to_genetic_map_positions(untyped_pos, genetic_map)
typed_cm = convert_to_genetic_map_positions(typed_pos, genetic_map=genetic_map)
untyped_cm = convert_to_genetic_map_positions(untyped_pos, genetic_map=genetic_map)
# Get rates at genotyped markers.
transition_probs = tp[typed_idx]
mismatch_probs = mp[typed_idx]
Expand Down

0 comments on commit d1ff60f

Please sign in to comment.