aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests
diff options
context:
space:
mode:
authorAlexanderlacuna2020-11-12 21:40:49 +0300
committerAlexanderlacuna2020-11-12 21:40:49 +0300
commitd4b3e8f43c4f4b10fb9614d80cb9d4e2a723c879 (patch)
tree85b121684fac025b36c54224e9c7959911e443e3 /wqflask/tests
parentda794df7cf9094fc81edbcf007149db86bf68d01 (diff)
downloadgenenetwork2-d4b3e8f43c4f4b10fb9614d80cb9d4e2a723c879.tar.gz
refactor code
Diffstat (limited to 'wqflask/tests')
-rw-r--r--wqflask/tests/wqflask/marker_regression/test_gemma_mapping.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/wqflask/tests/wqflask/marker_regression/test_gemma_mapping.py b/wqflask/tests/wqflask/marker_regression/test_gemma_mapping.py
index a44ccb00..af20c1b8 100644
--- a/wqflask/tests/wqflask/marker_regression/test_gemma_mapping.py
+++ b/wqflask/tests/wqflask/marker_regression/test_gemma_mapping.py
@@ -28,13 +28,12 @@ class TestGemmaMapping(unittest.TestCase):
dataset = AttributeSetter(
{"group": AttributeSetter({"genofile": "genofile.geno"})})
- output_files = "file1"
- use_loco = False
+ output_file = "file1"
mock_parse_loco.return_value = []
this_trait = AttributeSetter({"name": "t1"})
result = run_gemma(this_trait=this_trait, this_dataset=dataset, samples=[], vals=[
- ], covariates="", use_loco=True, first_run=False, output_files=output_files)
+ ], covariates="", use_loco=True, first_run=False, output_files=output_file)
expected_results = ([], "file1")
self.assertEqual(expected_results, result)