diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-05-12 12:45:18 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-05-12 12:45:18 +0200 |
commit | c858faa20607125097a3ca36f9178c4b4076b071 (patch) | |
tree | 358baf64e55162f9abd30f1833ccc56ebaab0603 /lib/ot_predictions.rb | |
parent | a730ae5a2a34ece618ae7b66c50b0d5aca7c9120 (diff) |
move to ruby-plot 0.0.3, use png instead of svg, use ?media for compound images
Diffstat (limited to 'lib/ot_predictions.rb')
-rwxr-xr-x | lib/ot_predictions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ot_predictions.rb b/lib/ot_predictions.rb index 1fd601c..22f9b20 100755 --- a/lib/ot_predictions.rb +++ b/lib/ot_predictions.rb @@ -213,7 +213,7 @@ module Lib begin #a.push( "http://ambit.uni-plovdiv.bg:8080/ambit2/depict/cdk?search="+ # URI.encode(OpenTox::Compound.new(:uri=>p.identifier(i)).smiles) ) if add_pic - a << p.identifier(i)+"/image" + a << p.identifier(i)+"?media=image/png" rescue => ex raise ex #a.push("Could not add pic: "+ex.message) |