summaryrefslogtreecommitdiff
path: root/views/lazar.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/lazar.haml')
-rw-r--r--views/lazar.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/lazar.haml b/views/lazar.haml
index 3f1d030..870fcab 100644
--- a/views/lazar.haml
+++ b/views/lazar.haml
@@ -18,8 +18,8 @@
%th Supporting information
%tr
- %td.image= compound_image(@compound,@prediction.descriptors(@compound))
- %td= activity_markup(@prediction.value(@compound))
+ %td.image= compound_image(@compound,@prediction.descriptors(@compound),@value_map)
+ %td= activity_markup(@prediction.value(@compound), @value_map)
%td= sprintf('%.03g', @prediction.confidence(@compound))
%td
%ul
@@ -40,7 +40,7 @@
%tr#fragments{ :style => "display: none;" }
%td{:colspan => '4'}
= hide_link('#fragments')
- = haml :feature_table, :locals => {:features => sort(@prediction.descriptors(@compound))}, :layout => false
+ = haml :feature_table, :locals => {:features => sort(@prediction.descriptors(@compound),@value_map)}, :layout => false
%tbody#neighbors
= haml :neighbors, :locals => {:neighbors => @prediction.neighbors(@compound), :page => @page}, :layout => false