summaryrefslogtreecommitdiff
path: root/views/neighbors.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2015-03-10 16:58:49 +0100
committergebele <gebele@in-silico.ch>2015-03-10 16:58:49 +0100
commit12002a6390b10c3c12462936484ba967da2478e4 (patch)
treef8d7ef0f8253a11a5232a5d0a3823e548e3ccbe7 /views/neighbors.haml
parent941ef6c04f98195a571920f2daf66b41a763ff22 (diff)
marked links >;resize body if large table;setup sdf
Diffstat (limited to 'views/neighbors.haml')
-rw-r--r--views/neighbors.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/neighbors.haml b/views/neighbors.haml
index 603f920..33ea688 100644
--- a/views/neighbors.haml
+++ b/views/neighbors.haml
@@ -98,7 +98,7 @@
%tr
%td.compound
%a{:href => to("/prediction/#{CGI.escape(neighbor_compound.uri)}/details"), :id=>"link#{count_rs}#{count}", :target=>"details"}
- Names and synonymes
+ 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
@@ -110,7 +110,7 @@
%td
- if @type =~ /classification/i
- if p.data_entries[count][3] != nil
- %a{:href => to("/prediction/#{CGI.escape(@model_uri)}/#{@type}/#{CGI.escape(neighbor_compound.uri)}/significant_fragments"), :id=>"link#{count_rs}#{count}sf", :target=>"details"} Significant fragments
+ %a{:href => to("/prediction/#{CGI.escape(@model_uri)}/#{@type}/#{CGI.escape(neighbor_compound.uri)}/significant_fragments"), :id=>"link#{count_rs}#{count}sf", :target=>"details"} Significant fragments >
- if @type =~ /regression/i
- if p.data_entries[count][3] != nil
%a{:href => to("/prediction/#{CGI.escape(@model_uri)}/#{@type}/#{CGI.escape(neighbor_compound.uri)}/significant_fragments"), :id=>"link#{count_rs}#{count}sf", :target=>"details"} Descriptors