summaryrefslogtreecommitdiff
path: root/views/neighbors.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2015-04-13 13:00:32 +0200
committergebele <gebele@in-silico.ch>2015-04-13 13:00:32 +0200
commit1bcf3e70deeac061db0450587668af442cbc6bc5 (patch)
tree2dbcd47f19ba031a04c55642df57388f48ca536e /views/neighbors.haml
parentcf0c31cc1aa895698cafde93878637243bf4d4e4 (diff)
minor fixes
Diffstat (limited to 'views/neighbors.haml')
-rw-r--r--views/neighbors.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/neighbors.haml b/views/neighbors.haml
index 86d1906..45a3642 100644
--- a/views/neighbors.haml
+++ b/views/neighbors.haml
@@ -94,7 +94,7 @@
- c = c
- else
/- c = Array.new
- - c = p.data_entries[count][2].round(3)
+ - c = p.data_entries[count][2].to_f.round(3)
%tr
%td.compound
%a{:href => to("/prediction/#{CGI.escape(neighbor_compound.uri)}/details"), :id=>"link#{count_rs}#{count}", :target=>"details"}