Skip to content

Commit 8a7bb97

Browse files
committed
Do TODO
1 parent 75096f1 commit 8a7bb97

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

python/tests/test_imputation.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,11 @@ def get_test_data(matrix_text, par):
239239
# 0 = ref allele, 1 = alt allele
240240
return x[:, 7].reshape((4, 4))[:, 0]
241241
elif par == "shift":
242-
# Shift factor
243-
# TODO
244-
pass
242+
# Shift factor, one per site
243+
return x[:, 8].reshape((4, 4))[:, 0]
245244
elif par == "scale":
246-
# Scale factor
247-
# TODO
248-
pass
245+
# Scale factor, one per site
246+
return x[:, 9].reshape((4, 4))[:, 0]
249247
elif par == "sum":
250248
# Sum of values over haplotypes
251249
return x[:, 10].reshape((4, 4))[:, 0]

0 commit comments

Comments
 (0)