diff options
author | BonfaceKilz | 2021-10-05 11:12:29 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-10-06 11:58:14 +0300 |
commit | e97719eea27ede1b3e943e6d21d18e5d383679f0 (patch) | |
tree | f2a22bedb8e1c6249687d97d29f38dd087753c06 /wqflask/tests | |
parent | 321632bf70c72ed987ba7c4f605dd92deaa62380 (diff) | |
download | genenetwork2-e97719eea27ede1b3e943e6d21d18e5d383679f0.tar.gz |
tests: test_run_mapping: Fix failing assert when getting perm strata
Diffstat (limited to 'wqflask/tests')
-rw-r--r-- | wqflask/tests/unit/wqflask/marker_regression/test_run_mapping.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/wqflask/tests/unit/wqflask/marker_regression/test_run_mapping.py b/wqflask/tests/unit/wqflask/marker_regression/test_run_mapping.py index 26903eed..3e9e4ef3 100644 --- a/wqflask/tests/unit/wqflask/marker_regression/test_run_mapping.py +++ b/wqflask/tests/unit/wqflask/marker_regression/test_run_mapping.py @@ -233,25 +233,20 @@ class TestRunMapping(unittest.TestCase): "c1": "c1_value", "c2": "c2_value", "w1": "w1_value" - }, "S2": { "w1": "w2_value", "w2": "w2_value" - }, "S3": { "c1": "c1_value", "c2": "c2_value" - }, - }}) - results = get_perm_strata(this_trait={}, sample_list=sample_list, categorical_vars=categorical_vars, used_samples=used_samples) - self.assertEqual(results, [2, 1]) + self.assertEqual(results, [1, 1]) def test_get_chr_length(self): """test for getting chromosome length""" |