diff options
author | Frederick Muriuki Muriithi | 2024-01-03 16:53:40 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-01-03 16:53:40 +0300 |
commit | 3e51fb24fd34bab2164a5f4056bc78d21827ca29 (patch) | |
tree | 690a4f7453dd276ccb90c7101140117fdeb6f9e7 /tests/r_qtl/test_r_qtl2_geno.py | |
parent | 95d2b868adebbc7ebbc2435f9184c30c014ec513 (diff) | |
download | gn-uploader-3e51fb24fd34bab2164a5f4056bc78d21827ca29.tar.gz |
Use generic parser. Remove obsoleted functions.
Diffstat (limited to 'tests/r_qtl/test_r_qtl2_geno.py')
-rw-r--r-- | tests/r_qtl/test_r_qtl2_geno.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/r_qtl/test_r_qtl2_geno.py b/tests/r_qtl/test_r_qtl2_geno.py index 787d13a..c33984e 100644 --- a/tests/r_qtl/test_r_qtl2_geno.py +++ b/tests/r_qtl/test_r_qtl2_geno.py @@ -171,8 +171,12 @@ def test_parse_geno_files(relpath, expected): THEN: ensure that the data we get is as expected """ with ZipFile(Path(relpath).absolute(), "r") as zfile: - assert tuple( - rqtl2.genotype_data(zfile, rqtl2.control_data(zfile))) == expected + cdata = rqtl2.control_data(zfile) + assert tuple(rqtl2.file_data( + zfile, + "geno", + cdata, + *rqtl2.make_process_data_geno(cdata))) == expected @pytest.mark.unit_test @pytest.mark.parametrize( |