summaryrefslogtreecommitdiff
path: root/views/feature_table.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-08-04 14:37:44 +0000
committerChristoph Helma <helma@in-silico.ch>2011-08-04 14:37:44 +0000
commit8b63e71e9cb0c6b377e83f793370039410012ed4 (patch)
tree5f91d235f71eafdc67fc16b3a7b0fc297b4eaddd /views/feature_table.haml
parent304c4c484a062077bad08ca9fe3ed44d138c9416 (diff)
highlighting warning for multiple classes
Diffstat (limited to 'views/feature_table.haml')
-rw-r--r--views/feature_table.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/feature_table.haml b/views/feature_table.haml
index e75c818..7c57331 100644
--- a/views/feature_table.haml
+++ b/views/feature_table.haml
@@ -6,7 +6,7 @@
activating
- else
predominatly in compounds with activity
- = "\"#{@value_map[2]}\""
+ = "\"#{@value_map[@value_map.keys.sort.last]}\""
(
%a{:href => "http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html", :rel => "external"} SMARTS
)
@@ -23,7 +23,7 @@
deactivating
- else
predominatly in compounds with activity
- = "\"#{@value_map[1]}\""
+ = "\"#{@value_map[@value_map.keys.sort.first]}\""
(
%a{:href => "http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html", :rel => "external"} SMARTS
)