diff options
Diffstat (limited to 'tests/r_qtl')
-rw-r--r-- | tests/r_qtl/test_files/test_pheno.zip | bin | 485 -> 503 bytes | |||
-rw-r--r-- | tests/r_qtl/test_files/test_pheno_transposed.zip | bin | 536 -> 557 bytes | |||
-rw-r--r-- | tests/r_qtl/test_r_qtl2_pheno.py | 8 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/r_qtl/test_files/test_pheno.zip b/tests/r_qtl/test_files/test_pheno.zip Binary files differindex 5c709e7..ba9bbb0 100644 --- a/tests/r_qtl/test_files/test_pheno.zip +++ b/tests/r_qtl/test_files/test_pheno.zip diff --git a/tests/r_qtl/test_files/test_pheno_transposed.zip b/tests/r_qtl/test_files/test_pheno_transposed.zip Binary files differindex 9bff030..e6a87aa 100644 --- a/tests/r_qtl/test_files/test_pheno_transposed.zip +++ b/tests/r_qtl/test_files/test_pheno_transposed.zip diff --git a/tests/r_qtl/test_r_qtl2_pheno.py b/tests/r_qtl/test_r_qtl2_pheno.py index a7de675..c7c0c86 100644 --- a/tests/r_qtl/test_r_qtl2_pheno.py +++ b/tests/r_qtl/test_r_qtl2_pheno.py @@ -13,14 +13,14 @@ from r_qtl import r_qtl2 as rqtl2 ({"id": "1", "liver": "61.92", "spleen": "153.16"}, {"id": "2", "liver": "88.33", "spleen": "178.58"}, {"id": "3", "liver": "58", "spleen": "131.91"}, - {"id": "4", "liver": "78.06", "spleen": "126.13"}, - {"id": "5", "liver": "65.31", "spleen": "181.05"})), + {"id": "4", "liver": "78.06", "spleen": None}, + {"id": "5", "liver": None, "spleen": "181.05"})), ("tests/r_qtl/test_files/test_pheno_transposed.zip", ({"id": "1", "liver": "61.92", "spleen": "153.16"}, {"id": "2", "liver": "88.33", "spleen": "178.58"}, {"id": "3", "liver": "58", "spleen": "131.91"}, - {"id": "4", "liver": "78.06", "spleen": "126.13"}, - {"id": "5", "liver": "65.31", "spleen": "181.05"})))) + {"id": "4", "liver": "78.06", "spleen": None}, + {"id": "5", "liver": None, "spleen": "181.05"})))) def test_parse_pheno_files(filepath, expected): """Test parsing of 'pheno' files from the R/qtl2 bundle. |