From c39dfbb218864e898bda14da466b448f11e441e7 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 3 Jan 2024 05:41:59 +0300 Subject: Extract processing of transposed files into reusable function. The processing of transposed files is similar across files. This commit extracts the common parts into a separate function. --- tests/r_qtl/test_r_qtl2_gmap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/r_qtl/test_r_qtl2_gmap.py b/tests/r_qtl/test_r_qtl2_gmap.py index 64774c2..ba46c42 100644 --- a/tests/r_qtl/test_r_qtl2_gmap.py +++ b/tests/r_qtl/test_r_qtl2_gmap.py @@ -44,5 +44,5 @@ def test_parse_map_files(relpath, mapfiletype, expected): THEN: ensure the parsed data is as expected. """ with ZipFile(Path(relpath).absolute(), "r") as zfile: - assert rqtl2.map_data( - zfile, mapfiletype, rqtl2.control_data(zfile)) == expected + assert tuple(rqtl2.map_data( + zfile, mapfiletype, rqtl2.control_data(zfile))) == expected -- cgit v1.2.3