summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-01-09 18:24:29 +0100
committerChristoph Helma <helma@in-silico.de>2010-01-09 18:24:29 +0100
commit9b01b81ee57af4223217d11a866e2ad47c9f1e42 (patch)
treee996a8af83f8b6bd34a9f3f421a0affb5e59a8c5 /application.rb
parent311666402590858e6684d5ae3e23a43eef5d4127 (diff)
tasks added
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/application.rb b/application.rb
index bf49f13..c8210af 100644
--- a/application.rb
+++ b/application.rb
@@ -2,13 +2,16 @@ 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'
require 'opentox-ruby-api-wrapper'
+require 'logger'
#require 'smarts.rb'
#require 'similarity.rb'
require 'fminer.rb'
require 'lazar.rb'
-#set :default_content, :yaml
+set :lock, true
+#set :default_content, :owl
+LOGGER = Logger.new(STDERR)
get '/?' do
[ url_for('/lazar', :full), url_for('/fminer', :full) ].join("\n")