summaryrefslogtreecommitdiff
path: root/views/models.haml
diff options
context:
space:
mode:
authorChristoph Helma <ch@in-silico.ch>2010-03-19 11:52:32 +0100
committerChristoph Helma <ch@in-silico.ch>2010-03-19 11:52:32 +0100
commita64f22ba742a55f1f181d32a265c4e4c2715c061 (patch)
tree3b6bd0aa52b40c672a97971c6dad60da2e5ce8f6 /views/models.haml
parentd987683fe40e20cd93a8a5b95a742732c80b965d (diff)
validation temporarily disabled
Diffstat (limited to 'views/models.haml')
-rw-r--r--views/models.haml11
1 files changed, 6 insertions, 5 deletions
diff --git a/views/models.haml b/views/models.haml
index 9d73c2c..79cb397 100644
--- a/views/models.haml
+++ b/views/models.haml
@@ -25,10 +25,10 @@
%dt Training compounds:
%dd= model.nr_compounds
%dt Warnings:
- - if model.warnings
- %dd= model.warnings
- - else
+ - if model.warnings == ''
%dd -
+ - else
+ %dd= model.warnings
- if model.status == 'completed'
%dt Algorithm:
@@ -58,7 +58,8 @@
%em (more formats to be added)
%dt Validation:
%dd
- - if model.validation_uri
+ %em temporarily disabled
+ -# if model.validation_uri
- uri = File.join(model.validation_uri, 'statistics')
- yaml = RestClient.get(uri).to_s
- v = YAML.load(yaml)
@@ -67,7 +68,7 @@
%dd
= v[:classification_statistics][:percent_correct].to_s
= '%'
- - else
+ -# else
%em under construction
= image_tag("/snake_transparent.gif")
=# model.validation_task_uri