summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb4
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