summaryrefslogtreecommitdiff
path: root/views/prediction.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/prediction.haml')
-rw-r--r--views/prediction.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
index 21d1bfe..c4ef460 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -32,10 +32,13 @@
- @@predictions.each do |pa|
/ prediction of one model
- pa.each do |p|
+ - $logger.debug "inspect p: #{p.inspect}\n"
+ - $logger.debug "inspect data_entries: #{p.data_entries}\n"
/ p.data_entries > 1 = neighbors available
- p.data_entries.length > 1 ? @@neighbors_available = p.data_entries.length : @@neighbors_available
/ prevent conversion of nil
- c = p.data_entries[0][0] != nil ? p.data_entries[0][0] : ''
+ - $logger.debug "inspect c: #{c.inspect}\n"
- case c
- when /(0|false)/
- c = "non-carcinogen"