summaryrefslogtreecommitdiff
path: root/views/lazar.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/lazar.haml')
-rw-r--r--views/lazar.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/lazar.haml b/views/lazar.haml
index 3f1d030..2912567 100644
--- a/views/lazar.haml
+++ b/views/lazar.haml
@@ -18,7 +18,7 @@
%th Supporting information
%tr
- %td.image= compound_image(@compound,@prediction.descriptors(@compound))
+ %td.image= compound_image(@compound,@prediction.descriptors(@compound),@value_map)
%td= activity_markup(@prediction.value(@compound))
%td= sprintf('%.03g', @prediction.confidence(@compound))
%td
@@ -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