diff options
author | mguetlein <martin.guetlein@gmail.com> | 2012-07-15 11:54:46 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2012-07-15 11:54:46 +0200 |
commit | cc6eadf4196778132d6f3ed7de1ff2bb7db984d4 (patch) | |
tree | 2e0403b9ed4dc2d455172ecdef72d5cf58b1510b /fminer.rb | |
parent | f7350549c9e861ca8cf91ca74696187e8ca7355d (diff) |
somehow task progress raised an eror with 100.0 not>= 100
Diffstat (limited to 'fminer.rb')
-rw-r--r-- | fminer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -139,7 +139,7 @@ post '/fminer/:method/match?' do res_dataset.add(c,f,1,true) if smarts_pattern.match(obmols[c]) end count += 1 - task.progress step_width*count if count%10==0 + task.progress step_width*count if count%10==0 and step_width*count<=100 end end res_dataset.save @subjectid |