aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBonfaceKilz2021-03-10 14:59:25 +0300
committerBonfaceKilz2021-03-10 14:59:25 +0300
commit8478bc9ee572224fe3b76696de85d1c9a7a89399 (patch)
treeb12542a1404b58a5cf05a9b63c4bbdb3990b394c /tests
parent9170e293e896d1d283d3b19d79d673c9a92724d2 (diff)
downloadgenenetwork3-8478bc9ee572224fe3b76696de85d1c9a7a89399.tar.gz
Fix k-compute command when "loco" is true
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/test_gemma.py6
-rw-r--r--tests/unit/computations/test_gemma.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/test_gemma.py b/tests/integration/test_gemma.py
index 7a7f520..73c7baa 100644
--- a/tests/integration/test_gemma.py
+++ b/tests/integration/test_gemma.py
@@ -110,7 +110,7 @@ class GemmaAPITest(unittest.TestCase):
email=None,
job_queue='GN3::job-queue',
cmd=("gemma-wrapper --json --loco "
- "--input 1,2,3,4,5,6 -- "
+ "1,2,3,4,5,6 -- "
"-g /tmp/test-data/genofile.txt "
"-p /tmp/test-data/phenofile.txt "
"-a /tmp/test-data/snpfile.txt "
@@ -435,7 +435,7 @@ class GemmaAPITest(unittest.TestCase):
conn=_redis_conn,
email=None,
job_queue='GN3::job-queue',
- cmd=("gemma-wrapper --json --loco --input 1,2,3,4 -- "
+ cmd=("gemma-wrapper --json --loco 1,2,3,4 -- "
"-g /tmp/my-token/genofile.txt "
"-p /tmp/my-token/phenofile.txt "
"-a /tmp/my-token/snpfile.txt "
@@ -490,7 +490,7 @@ class GemmaAPITest(unittest.TestCase):
conn=_redis_conn,
email=None,
job_queue='GN3::job-queue',
- cmd=("gemma-wrapper --json --loco --input 1,2,3,4 -- "
+ cmd=("gemma-wrapper --json --loco 1,2,3,4 -- "
"-g /tmp/my-token/genofile.txt "
"-p /tmp/my-token/phenofile.txt "
"-a /tmp/my-token/snpfile.txt "
diff --git a/tests/unit/computations/test_gemma.py b/tests/unit/computations/test_gemma.py
index f3b31e5..1081d12 100644
--- a/tests/unit/computations/test_gemma.py
+++ b/tests/unit/computations/test_gemma.py
@@ -69,7 +69,7 @@ class TestGemma(unittest.TestCase):
"output_file":
"my-hash-r+gF5a-output.json",
"gemma_cmd": ("gemma-wrapper --json "
- "--loco --input 1,2,3,4,5 "
+ "--loco 1,2,3,4,5 "
"-- -g genofile "
"-p phenofile -a snpsfile "
"-gk > /tmp/my-token/"