diff options
author | gebele <gebele@in-silico.ch> | 2013-04-09 16:50:56 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-04-09 16:50:56 +0200 |
commit | c74da4b41e6413d126ae8d6aa62874627cb14fca (patch) | |
tree | 96e8d75a655704d0a63ab3a51c46ab173c4d37dd /views/neighbours.haml | |
parent | b983a694fca22d53054a90ddb894f33be365e5a8 (diff) |
adjusted for services update
Diffstat (limited to 'views/neighbours.haml')
-rw-r--r-- | views/neighbours.haml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/views/neighbours.haml b/views/neighbours.haml index a593e7b..7d99288 100644 --- a/views/neighbours.haml +++ b/views/neighbours.haml @@ -29,7 +29,7 @@ #results{:id=>"#{count_rs}"} - pa.each do |p| / get prediction OpenTox::Dataset - - p.get + -# p.get / prepare dataset for neighbours table ; / delete first array which contains input compound prediction ; / keep the following arrays they are the neighbour predictions ; @@ -64,12 +64,12 @@ - p.compounds.each do |neighbour_compound| %tr %td - %img{:src=>"#{neighbour_compound.uri}/image", :alt=>neighbour_compound.uri, :width=>"100px"} - %td{:class => p.data_entries[count][0]} - = p.data_entries[count][0] - %td{:class => p.data_entries[count][0]} + %img{:src=>"#{neighbour_compound.uri}/image", :alt=>"", :width=>"100px"} + %td{:class => p.data_entries[count][2]} + = p.data_entries[count][2] + %td{:class => p.data_entries[count][2]} = p.data_entries[count][3].round(3) - %td{:class => p.data_entries[count][0]} + %td{:class => p.data_entries[count][2]} %a{:href => to("/prediction/#{CGI.escape(neighbour_compound.uri)}/details"), :id=>"link#{count_rs}#{count}", :target=>"details"} %img{:src=>"/images/arrow_right_float.png", :alt=>"arrow"} :javascript |