Skip to content

Commit 88fee03

Browse files
lkirkpetrelharp
andcommitted
clarify comment about norm func
Co-authored-by: Peter Ralph <petrel.harp@gmail.com>
1 parent 9bba0bf commit 88fee03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/tests/test_ld_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2592,7 +2592,7 @@ def choose(cls, stat, mode, ts):
25922592
return cls.k_way_hap_norm
25932593
case (_, "branch", _): # branch stats do not need a norm func
25942594
return cls.assert_no_norm_func
2595-
case (_, _, False): # biallelic sites do not need a norm func
2595+
case (_, _, False): # biallelic sites should not use the norm func
25962596
return cls.assert_no_norm_func
25972597
case _: # total_norm is default (1 / (nA * nB)). handles multi-way stats
25982598
return None

0 commit comments

Comments
 (0)