diff options
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 |