diff options
author | Pjotr Prins | 2015-03-14 17:08:10 +0300 |
---|---|---|
committer | Pjotr Prins | 2015-03-14 17:08:10 +0300 |
commit | 086ce413e270d2ed07a1a385f84e569e3a478a39 (patch) | |
tree | fb9301fef5be05c17b06c11c70e9e52799500c1b /wqflask | |
parent | c784f2fb2e3e4ad6cb6d6425aa7ec1596c2bd132 (diff) | |
download | genenetwork2-086ce413e270d2ed07a1a385f84e569e3a478a39.tar.gz |
Allow the GC to do its job
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/my_pylmm/pyLMM/runlmm.py | 4 |
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) |