summaryrefslogtreecommitdiff
path: root/views/batch.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2015-10-29 10:09:13 +0000
committergebele <gebele@in-silico.ch>2015-10-29 10:09:13 +0000
commit3935e9bee66fbfff4f35365eb9cff8c79f5fadd8 (patch)
tree1a56d321d909e0daf2efcd161e099fdc726d5292 /views/batch.haml
parent228425ae1229ea0b80d7010e7c7d5732858e3252 (diff)
patch merge
Diffstat (limited to 'views/batch.haml')
-rw-r--r--views/batch.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/batch.haml b/views/batch.haml
index 8389651..ec987c4 100644
--- a/views/batch.haml
+++ b/views/batch.haml
@@ -44,7 +44,7 @@
%br
%b Prediction:
/ TODO scientific notation
- = prediction[:value].numeric? ? "#{'%.2e' % prediction[:value]} #{model.unit}" : prediction[:value]
+ = prediction[:value].numeric? ? "#{'%.2e' % prediction[:value]} (#{model.unit})" : prediction[:value]
%br
/ TODO probability
%b Confidence:
@@ -53,4 +53,3 @@
- else
%p
= "Not enough similar compounds </br>in training dataset."
- %p