From 4852779011acb075e97e22f25db4fa7373ec1c73 Mon Sep 17 00:00:00 2001 From: Zachary Sloan Date: Mon, 16 Mar 2015 18:21:44 +0000 Subject: Moved setting of geno variable into non-human --- wqflask/wqflask/my_pylmm/pyLMM/lmm.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'wqflask') 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'], -- cgit v1.2.3