From 8478bc9ee572224fe3b76696de85d1c9a7a89399 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 10 Mar 2021 14:59:25 +0300 Subject: Fix k-compute command when "loco" is true --- gn3/computations/gemma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/computations') 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 { -- cgit v1.2.3