diff options
author | Christoph Helma <helma@in-silico.ch> | 2011-08-04 14:37:44 +0000 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2011-08-04 14:37:44 +0000 |
commit | 8b63e71e9cb0c6b377e83f793370039410012ed4 (patch) | |
tree | 5f91d235f71eafdc67fc16b3a7b0fc297b4eaddd /views/lazar_algorithm.haml | |
parent | 304c4c484a062077bad08ca9fe3ed44d138c9416 (diff) |
highlighting warning for multiple classes
Diffstat (limited to 'views/lazar_algorithm.haml')
-rw-r--r-- | views/lazar_algorithm.haml | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/views/lazar_algorithm.haml b/views/lazar_algorithm.haml index e5b70f6..76a993b 100644 --- a/views/lazar_algorithm.haml +++ b/views/lazar_algorithm.haml @@ -32,23 +32,29 @@ %p = toggle_link "#significant_fragments", "Significant fragments" are highlighted in the structure display as follows: - %ul - - if @value_map.empty? + - if @value_map.empty? + %ul %li .active activating fragments %li .inactive deactivating fragments %li .inconclusive regions, where activating and deactivating fragments overlap - - else %li - .active= "features that occur predominately in compounds with activity: \"#{@value_map[2]}\"" + .other inert parts + - else + %ul + %li + .active= "features that occur predominately in compounds with activity: \"#{@value_map[@value_map.keys.sort.last]}\"" %li - .inactive= "features that occur predominately in compounds with activity: \"#{@value_map[1]}\"" + .inactive= "features that occur predominately in compounds with activity: \"#{@value_map[@value_map.keys.sort.first]}\"" %li .inconclusive regions, where fragments from different classes overlap - %li - .other inert parts + %li + .other inert parts + - if @value_map.size > 2 + .notice Incomplete implementation of feature highlighting and display of significant fragments. Only features for 2 classes are shown! + %p Please keep in mind that predictions are based on the measured activities of neighbors. |