From 1bcf3e70deeac061db0450587668af442cbc6bc5 Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 13 Apr 2015 13:00:32 +0200 Subject: minor fixes --- views/neighbors.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/neighbors.haml') 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"} -- cgit v1.2.3