diff options
author | gebele <gebele@in-silico.ch> | 2013-03-28 17:19:06 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-03-28 17:19:06 +0100 |
commit | eea0ab2649d998249dc2ea3bba3ecbdd2b3b8a5b (patch) | |
tree | 23b951be401decf3d44360a217b957f16846205e /application.rb | |
parent | de03020a09cdc6438d27916207cab1de554a70f2 (diff) |
colored by result
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application.rb b/application.rb index 54b2d10..6dfc9b7 100644 --- a/application.rb +++ b/application.rb @@ -36,9 +36,9 @@ get '/prediction/:neighbour/details/?' do when "Error" @names = "There are no names for this compound available." when "Completed" - @names = @compound_uri.names + @names = @compound_uri.names.join(",") end - @inchi = @compound_uri.inchi.gsub("InChI=", "InChI: ") + @inchi = @compound_uri.inchi.gsub("InChI=", "") haml :details, :layout => false end |