aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
authorBonfaceKilz2021-03-10 14:59:25 +0300
committerBonfaceKilz2021-03-10 14:59:25 +0300
commit8478bc9ee572224fe3b76696de85d1c9a7a89399 (patch)
treeb12542a1404b58a5cf05a9b63c4bbdb3990b394c /gn3/computations
parent9170e293e896d1d283d3b19d79d673c9a92724d2 (diff)
downloadgenenetwork3-8478bc9ee572224fe3b76696de85d1c9a7a89399.tar.gz
Fix k-compute command when "loco" is true
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/gemma.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/gemma.py b/gn3/computations/gemma.py
index 172333c..5f9d5a3 100644
--- a/gn3/computations/gemma.py
+++ b/gn3/computations/gemma.py
@@ -59,7 +59,7 @@ def generate_gemma_cmd(gemma_cmd: str,
_hash = get_hash_of_files(
[v for k, v in gemma_kwargs.items() if k in ["g", "p", "a", "c"]])
if chromosomes: # Only reached when calculating k-values
- gemma_wrapper_kwargs = {"loco": f"--input {chromosomes}"}
+ gemma_wrapper_kwargs = {"loco": f"{chromosomes}"}
_hash += f"-{generate_hash_of_string(chromosomes)[:6]}"
_output_filename = f"{_hash}-output.json"
return {