about summary refs log tree commit diff
path: root/tests/r_qtl/test_r_qtl2_pheno.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/r_qtl/test_r_qtl2_pheno.py')
-rw-r--r--tests/r_qtl/test_r_qtl2_pheno.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/r_qtl/test_r_qtl2_pheno.py b/tests/r_qtl/test_r_qtl2_pheno.py
index 66850a0..a7de675 100644
--- a/tests/r_qtl/test_r_qtl2_pheno.py
+++ b/tests/r_qtl/test_r_qtl2_pheno.py
@@ -36,17 +36,17 @@ def test_parse_pheno_files(filepath, expected):
 @pytest.mark.parametrize(
     "filepath,expected",
     (("tests/r_qtl/test_files/test_phenocovar.zip",
-      ({"pheno": "T0", "time (hrs)": "0"},
-       {"pheno": "T2", "time (hrs)": "0.0333333333333333"},
-       {"pheno": "T4", "time (hrs)": "0.0666666666666667"},
-       {"pheno": "T6", "time (hrs)": "0.1"},
-       {"pheno": "T8", "time (hrs)": "0.133333333333333"})),
+      ({"id": "T0", "time (hrs)": "0"},
+       {"id": "T2", "time (hrs)": "0.0333333333333333"},
+       {"id": "T4", "time (hrs)": "0.0666666666666667"},
+       {"id": "T6", "time (hrs)": "0.1"},
+       {"id": "T8", "time (hrs)": "0.133333333333333"})),
      ("tests/r_qtl/test_files/test_phenocovar_transposed.zip",
-      ({"pheno": "T0", "time (hrs)": "0"},
-       {"pheno": "T2", "time (hrs)": "0.0333333333333333"},
-       {"pheno": "T4", "time (hrs)": "0.0666666666666667"},
-       {"pheno": "T6", "time (hrs)": "0.1"},
-       {"pheno": "T8", "time (hrs)": "0.133333333333333"}))))
+      ({"id": "T0", "time (hrs)": "0"},
+       {"id": "T2", "time (hrs)": "0.0333333333333333"},
+       {"id": "T4", "time (hrs)": "0.0666666666666667"},
+       {"id": "T6", "time (hrs)": "0.1"},
+       {"id": "T8", "time (hrs)": "0.133333333333333"}))))
 def test_parse_phenocovar_files(filepath, expected):
     """Test parsing of 'phenocovar' files from the R/qtl2 bundle.