summaryrefslogtreecommitdiff
path: root/views/feature_table.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-08-04 13:55:58 +0000
committerChristoph Helma <helma@in-silico.ch>2011-08-04 13:55:58 +0000
commit304c4c484a062077bad08ca9fe3ed44d138c9416 (patch)
tree17ecb7dfa918e5c35acf2979899fd195985c45d2 /views/feature_table.haml
parent4f83500afb33612cadd7084470ab9b42dfa59cf2 (diff)
feature highlighting and significant features fixed for generic classes and regression
Diffstat (limited to 'views/feature_table.haml')
-rw-r--r--views/feature_table.haml12
1 files changed, 10 insertions, 2 deletions
diff --git a/views/feature_table.haml b/views/feature_table.haml
index a8a153f..e75c818 100644
--- a/views/feature_table.haml
+++ b/views/feature_table.haml
@@ -2,7 +2,11 @@
- unless features[:activating].empty?
%tr
%th
- activating
+ - if @value_map.empty?
+ activating
+ - else
+ predominatly in compounds with activity
+ = "\"#{@value_map[2]}\""
(
%a{:href => "http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html", :rel => "external"} SMARTS
)
@@ -15,7 +19,11 @@
- unless features[:deactivating].empty?
%tr
%th
- deactivating
+ - if @value_map.empty?
+ deactivating
+ - else
+ predominatly in compounds with activity
+ = "\"#{@value_map[1]}\""
(
%a{:href => "http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html", :rel => "external"} SMARTS
)