diff options
-rw-r--r-- | views/compound_image.haml | 5 | ||||
-rw-r--r-- | views/prediction.haml | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/views/compound_image.haml b/views/compound_image.haml index 25e0dbf..178239f 100644 --- a/views/compound_image.haml +++ b/views/compound_image.haml @@ -1 +1,4 @@ -%img{:src => compound.matching_smarts_image_uri(features[:activating].collect{|f| f[:smarts]},features[:deactivating].collect{|f| f[:smarts]}), :alt => compound.to_smiles} +%img{:src => compound.to_image_uri.split("8080").last, :alt => compound.to_smiles} +-# Bad fix for Nestle VA +-#%img{:src => compound.matching_smarts_image_uri(features[:activating].collect{|f| f[:smarts]},features[:deactivating].collect{|f| f[:smarts]}), :alt => compound.to_smiles} + diff --git a/views/prediction.haml b/views/prediction.haml index b83bc63..efa5a84 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -7,7 +7,7 @@ = @identifier %tr %td - %img{:src => @compound.to_image_uri, :alt => @compound.to_smiles} + %img{:src => @compound.to_image_uri.split("8080").last, :alt => @compound.to_smiles} - @predictions.each do |p| - LOGGER.debug p.to_yaml %td |