aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/my_pylmm/pyLMM/runlmm.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py b/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
index a322f988..469ba6c9 100644
--- a/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
+++ b/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
@@ -113,6 +113,8 @@ if cmd == 'redis':
print "MAF replacements: \n",G
if not options.skip_genotype_normalization:
G = np.apply_along_axis( genotype.normalize, axis=1, arr=G)
+ g = None
+ gnt = None
ps, ts = gn2_load_redis('testrun','other',k,Y,G.T)
print np.array(ps)
@@ -142,6 +144,8 @@ elif cmd == 'kinship':
print "MAF replacements: \n",G
if not options.skip_genotype_normalization:
G = np.apply_along_axis( genotype.normalize, axis=1, arr=G)
+ g = None
+ gnt = None
if options.test_kinship:
K = kinship_full(G)