summaryrefslogtreecommitdiff
path: root/views/prediction.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-03-04 10:28:02 +0100
committergebele <gebele@in-silico.ch>2013-03-04 10:28:02 +0100
commit0c2554a5a2c3aebf3e99d70fee2075a9b99f9abe (patch)
tree5b4085247b2a9edebdb027a75f85c4ae584f3017 /views/prediction.haml
first commit
Diffstat (limited to 'views/prediction.haml')
-rw-r--r--views/prediction.haml26
1 files changed, 26 insertions, 0 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
new file mode 100644
index 0000000..1286d52
--- /dev/null
+++ b/views/prediction.haml
@@ -0,0 +1,26 @@
+.predictions
+ .back
+ %h1
+ %img{:src=>"/images/arrow_left_float.png", :alt=>"arrow"}
+ %a{:href => to('/predict')} New Prediction
+
+ .was
+ %h2= "Compound image: "
+ %img{:src=>"#{@compound.uri}/image", :alt=>@compound.uri, :width=>"100px"}
+ %br
+ %h2= "Compound SMILES string: "
+ %p= @identifier
+
+ .results
+ %h2= "Selected Entpoints: "
+ - @models.each do |m|
+ %p= m.inspect
+ %br
+ %h2= "Prediction Uri: "
+ - @predictions.each do |p|
+ %p= p.uri
+ %br
+ %h2= "Prediction Results: "
+ - @prediction_results.each do |r|
+ %p= r
+