From 086ce413e270d2ed07a1a385f84e569e3a478a39 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 14 Mar 2015 17:08:10 +0300 Subject: Allow the GC to do its job --- wqflask/wqflask/my_pylmm/pyLMM/runlmm.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.3