about summary refs log tree commit diff
path: root/e2e-tests
diff options
context:
space:
mode:
authorArun Isaac2025-09-08 11:17:30 +0100
committerArun Isaac2025-09-08 11:17:30 +0100
commit97dce800d58b566ab9bf0c86d4f1633159982e93 (patch)
treed8fa409eab74c06aa5c81774bafa17da0bdc7395 /e2e-tests
parentad4541ea30ec4ba2487eae1f353ad392a751666d (diff)
downloadpyhegp-97dce800d58b566ab9bf0c86d4f1633159982e93.tar.gz
pyhegp-97dce800d58b566ab9bf0c86d4f1633159982e93.tar.lz
pyhegp-97dce800d58b566ab9bf0c86d4f1633159982e93.zip
Comment on QTL checking code.
Diffstat (limited to 'e2e-tests')
-rw-r--r--e2e-tests/hsmice/check-qtl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/e2e-tests/hsmice/check-qtl.py b/e2e-tests/hsmice/check-qtl.py
index feae361..6e342b1 100644
--- a/e2e-tests/hsmice/check-qtl.py
+++ b/e2e-tests/hsmice/check-qtl.py
@@ -23,5 +23,7 @@ import pandas as pd
 if __name__ == "__main__":
     df = pd.read_csv(sys.argv[1], sep="\t")
     qtl = df.query("p < 1e-10")
+    # Assert that the QTL is on chromosome 4.
     assert (qtl.chromosome == 4).all()
+    # Assert that the QTL is within 2 Mb of the expected position.
     assert ((qtl.position - 137715608).abs() < 2*10**6).all()