aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Sloan2015-03-16 18:21:44 +0000
committerZachary Sloan2015-03-17 18:02:55 +0000
commit4852779011acb075e97e22f25db4fa7373ec1c73 (patch)
treed0ffdf68a9aaedb486db7b9e64ba901c99880f80
parente0bd0ab02d26fd8520ddfb0f69baa746ddee91fe (diff)
downloadgenenetwork2-4852779011acb075e97e22f25db4fa7373ec1c73.tar.gz
Moved setting of geno variable into non-human
-rw-r--r--wqflask/wqflask/my_pylmm/pyLMM/lmm.py6
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'],