diff options
author | gebele <gebele@in-silico.ch> | 2013-03-27 17:11:59 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-03-27 17:11:59 +0100 |
commit | de03020a09cdc6438d27916207cab1de554a70f2 (patch) | |
tree | 65192a060f7793d7741cb1c5f5d91f124ba9e0b6 /views/details.haml | |
parent | 2b02d8fdafe4ea4d4027d5aa18d56fc77ec5ef9a (diff) |
error handling compound names;smiles validation
Diffstat (limited to 'views/details.haml')
-rw-r--r-- | views/details.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/details.haml b/views/details.haml index 448e8a8..38d97fe 100644 --- a/views/details.haml +++ b/views/details.haml @@ -7,12 +7,12 @@ %img{:src=>"#{@compound_uri.uri}/image", :alt=>@compound_uri.uri, :width=>"100px"} %p SMILES: - = @compound_uri.smiles if @compound_uri.smiles + = @smiles %p // TODO handle OpenTox::ResourceNotFoundError Names: - = @compound_uri.names if @compound_uri.names + = @names %p - = @compound_uri.inchi.gsub("InChI=", "InChI: ") if @compound_uri.inchi + = @inchi |