summaryrefslogtreecommitdiff
path: root/views/neighbors.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2014-10-06 10:57:21 +0200
committergebele <gebele@in-silico.ch>2014-10-06 10:57:21 +0200
commit1a685503c053931513172969399e0e1df4d4d52d (patch)
treea5dca433b256c6c74c466e3505b3e4280106a009 /views/neighbors.haml
parentad239b572829d54bc55ae34ca96de1e3cb2f9806 (diff)
update jsme_version/stylesheet
Diffstat (limited to 'views/neighbors.haml')
-rw-r--r--views/neighbors.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/neighbors.haml b/views/neighbors.haml
index f742cff..32554d6 100644
--- a/views/neighbors.haml
+++ b/views/neighbors.haml
@@ -97,7 +97,9 @@
- c = p.data_entries[count][2].round(3)
%tr
%td.compound
- %img{:src=>"#{neighbor_compound.uri}/image", :alt=>"Compound image not available", :title=>"#{neighbor_compound.smiles}", :width=>"150px"}
+ %a{:href => to("/prediction/#{CGI.escape(neighbor_compound.uri)}/details"), :id=>"link#{count_rs}#{count}", :target=>"details"}
+ Names and synonymes
+ %img{:src=>"#{neighbor_compound.uri}/image", :alt=>"Compound image not available", :title=>"#{neighbor_compound.smiles}", :width=>"150px"}
%td
- if c.class == String
= c
@@ -106,8 +108,6 @@
%td
= p.data_entries[count][3] != nil ? p.data_entries[count][3].round(3) : "Not enough similar compounds in training dataset."
%td
- -#- if p.data_entries[count][3] != nil
- %a{:href => to("/prediction/#{CGI.escape(neighbor_compound.uri)}/details"), :id=>"link#{count_rs}#{count}", :target=>"details"} Names and synonymes
%br
- if @type =~ /classification/i
- if p.data_entries[count][3] != nil