diff options
Diffstat (limited to 'views/compound_image.haml')
-rw-r--r-- | views/compound_image.haml | 5 |
1 files changed, 4 insertions, 1 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} + |