diff options
author | gebele <gebele@in-silico.ch> | 2013-09-11 17:50:13 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-09-11 17:50:13 +0200 |
commit | 3ae04ef7fac5bbc20f464c1cb29c8ffebc820dce (patch) | |
tree | 8d8cf704572f3a8c7fcf09668647401df16f7f0c /views/neighbors.haml | |
parent | 27943bda280ffbb3f2a7d147dc02be1eb8b7ea2d (diff) |
added ote logo
Diffstat (limited to 'views/neighbors.haml')
-rw-r--r-- | views/neighbors.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/views/neighbors.haml b/views/neighbors.haml index ceef79c..750b615 100644 --- a/views/neighbors.haml +++ b/views/neighbors.haml @@ -97,7 +97,10 @@ %td.compound %img{:src=>"#{neighbor_compound.uri}/image", :alt=>"Compound image not available", :width=>"150px"} %td{:class => c[0]} - = c[0] #p.data_entries[count][2] + - if c.class == String + = c + - else + = c[0] %td{:class => c[0]} = p.data_entries[count][3] != nil ? p.data_entries[count][3].round(3) : "Not enough similar compounds in training dataset." %td |