aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2015-03-14 17:08:10 +0300
committerPjotr Prins2015-03-14 17:08:10 +0300
commit086ce413e270d2ed07a1a385f84e569e3a478a39 (patch)
treefb9301fef5be05c17b06c11c70e9e52799500c1b /wqflask
parentc784f2fb2e3e4ad6cb6d6425aa7ec1596c2bd132 (diff)
downloadgenenetwork2-086ce413e270d2ed07a1a385f84e569e3a478a39.tar.gz
Allow the GC to do its job
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)