diff options
author | gebele <gebele@in-silico.ch> | 2019-07-18 13:55:40 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2019-07-18 13:55:40 +0000 |
commit | 87fc7e8997306f7edb74d5282ad337c5c3c48b1c (patch) | |
tree | 8f6ede95232138acfb136165614906fab8b789e9 /views/neighbors.haml | |
parent | e0985405e2fdb0fe8c4740ccb256d3ac2d1fd5be (diff) |
removed awstats;model details without separation buttons;restructured details table;adjust info with warning;reordered positive first
Diffstat (limited to 'views/neighbors.haml')
-rw-r--r-- | views/neighbors.haml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/views/neighbors.haml b/views/neighbors.haml index 5f3e2bc..8f8e186 100644 --- a/views/neighbors.haml +++ b/views/neighbors.haml @@ -44,10 +44,11 @@ - else - if !neighbor[:measurement].nil? = (type == "Regression") ? "#{neighbor[:measurement].delog10.signif(3)} (#{unit})</br>#{c.mmol_to_mg(neighbor[:measurement].delog10).signif(3)} #{(unit =~ /\b(mmol\/L)\b/) ? "(mg/L)" : "(mg/kg_bw/day)"}" : neighbor[:measurement] - %p - %a{:href=>PUBCHEM_CID_URI+c.cid, :rel => "external"} - PubChem - %span.fa.fa-xs.fa-external-link + - if c.cid && c.cid != "0" + %p + %a{:href=>PUBCHEM_CID_URI+c.cid, :rel => "external"} + PubChem + %span.fa.fa-xs.fa-external-link / Similarity = tanimoto %td = neighbor[:similarity].round(3) |