diff options
-rw-r--r-- | wqflask/wqflask/my_pylmm/pyLMM/lmm.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py index 58d7593d..16073d2c 100644 --- a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py +++ b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py @@ -731,8 +731,7 @@ def gn2_redis(key,species,is_testing=False): print('kinship', np.array(params['kinship_matrix'])) print('pheno', np.array(params['pheno_vector'])) - geno = np.array(params['genotype_matrix']) - print('geno', geno.shape, geno) + # sys.exit(1) if species == "human" : @@ -743,6 +742,9 @@ def gn2_redis(key,species,is_testing=False): refit = params['refit'], tempdata = tempdata) else: + geno = np.array(params['genotype_matrix']) + print('geno', geno.shape, geno) + ps, ts = run_other(pheno_vector = np.array(params['pheno_vector']), genotype_matrix = geno, restricted_max_likelihood = params['restricted_max_likelihood'], |