aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/my_pylmm/pyLMM/kinship.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/kinship.py b/wqflask/wqflask/my_pylmm/pyLMM/kinship.py
index 1383c782..9ab48510 100644
--- a/wqflask/wqflask/my_pylmm/pyLMM/kinship.py
+++ b/wqflask/wqflask/my_pylmm/pyLMM/kinship.py
@@ -119,6 +119,7 @@ def kinship(G,options):
results.append(p.apply_async(compute_matrixMult, (job,W)))
# Do we have a result?
while (len(results)-completed>cpu_num*2):
+ time.sleep(0.1)
try:
j,x = q.get_nowait()
if options.verbose: sys.stderr.write("Job "+str(j)+" finished\n")