diff options
author | Christoph Helma <helma@in-silico.ch> | 2011-08-04 13:55:58 +0000 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2011-08-04 13:55:58 +0000 |
commit | 304c4c484a062077bad08ca9fe3ed44d138c9416 (patch) | |
tree | 17ecb7dfa918e5c35acf2979899fd195985c45d2 /views/lazar_algorithm.haml | |
parent | 4f83500afb33612cadd7084470ab9b42dfa59cf2 (diff) |
feature highlighting and significant features fixed for generic classes and regression
Diffstat (limited to 'views/lazar_algorithm.haml')
-rw-r--r-- | views/lazar_algorithm.haml | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/views/lazar_algorithm.haml b/views/lazar_algorithm.haml index 85823b5..e5b70f6 100644 --- a/views/lazar_algorithm.haml +++ b/views/lazar_algorithm.haml @@ -33,12 +33,20 @@ = toggle_link "#significant_fragments", "Significant fragments" are highlighted in the structure display as follows: %ul - %li - .active activating fragments - %li - .inactive deactivating fragments - %li - .inconclusive regions, where activating and deactivating fragments overlap + - if @value_map.empty? + %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]}\"" + %li + .inactive= "features that occur predominately in compounds with activity: \"#{@value_map[1]}\"" + %li + .inconclusive regions, where fragments from different classes overlap %li .other inert parts |