Skip to content

Commit

Permalink
Add position check
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Aug 27, 2023
1 parent cdf4b45 commit 2dd1007
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/tests/test_beagle.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def convert_to_genetic_map_position(pos):
:return: Genetic map positions.
:rtype: numpy.ndarray
"""
assert 0 <= np.min(pos)
return pos / 1e6


Expand Down

0 comments on commit 2dd1007

Please sign in to comment.