diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/my_pylmm/pyLMM/lmm.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py index 8844118f..200424ba 100644 --- a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py +++ b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py @@ -814,6 +814,9 @@ def gn2_redis(key,species,new_code=True): tempdata = temp_data.TempData(params['temp_uuid']) def update_tempdata(loc,i,total): + """ + This is the single method that updates Redis for percentage complete! + """ tempdata.store("percent_complete",round(i*100.0/total)) debug("Updating REDIS percent_complete=%d" % (round(i*100.0/total))) progress_set_func(update_tempdata) |