summaryrefslogtreecommitdiff
path: root/application.rb
blob: 9eb82db48b8358a0c74ca74fd5a719c598a6ca1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'rubygems'
require 'libfminer/fminer' # has to be included before openbabel, otherwise we have strange SWIG overloading problems
gem 'opentox-ruby-api-wrapper', '= 1.2.5'
require 'opentox-ruby-api-wrapper'

#require 'smarts.rb'
#require 'similarity.rb'
require 'fminer.rb'
require 'lazar.rb'

set :lock, true

before do
	LOGGER.debug "Request: " + request.path
end

get '/?' do
	[ url_for('/lazar', :full), url_for('/fminer', :full) ].join("\n")
end