summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@ot-dev.in-silico.ch>2011-03-08 09:49:01 +0000
committerroot <root@ot-dev.in-silico.ch>2011-03-08 09:49:01 +0000
commit3530f34606aed2daedf00c121c7408ae596a090c (patch)
treea0ef600e37de8dfe5531a257e9221ed39efc29d6
parent18801dca5ff1458384491b5bdf5c15271f0681d5 (diff)
nr_predictions as string
-rw-r--r--views/validation.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/validation.haml b/views/validation.haml
index ce35536..06a57e7 100644
--- a/views/validation.haml
+++ b/views/validation.haml
@@ -10,7 +10,7 @@
%dd
%a{:href => model.validation_report_uri + subjectstring, :target => "_blank"} show
%dt Number of predictions
- %dd= model.nr_predictions
+ %dd= model.nr_predictions.to_s
- case model.type
- when "classification"
= haml :classification_validation, :locals=>{:model=>model}, :layout => false if model.correct_predictions