From a446fb2ecc8e7ab5f179d910a1f332c469dee35e Mon Sep 17 00:00:00 2001 From: gebele Date: Fri, 12 Jul 2019 11:51:32 +0000 Subject: assume approx prediction time --- views/batch.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/batch.haml b/views/batch.haml index 45997bf..4f82312 100644 --- a/views/batch.haml +++ b/views/batch.haml @@ -28,7 +28,7 @@ // assume single compound prediction time: classification=0.1s,regression=0.5s - task_approx = m.classification? ? (tasktime*1000 + @compounds_size*100) : (tasktime*1000 + @compounds_size*500) - approx[idx] = task_approx + sum_approx - - sum_approx += (m.classification? ? @compounds_size*100 : @compounds_size*1000) + - sum_approx += (m.classification? ? @compounds_size*100 : @compounds_size*500) #result.card.bg-light{:id=>idx} %div.card-body %div.row -- cgit v1.2.3