summaryrefslogtreecommitdiff
path: root/views/prediction.haml
blob: 1286d529af23a424a9e07318e87dd57d37f4ce6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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