summaryrefslogtreecommitdiff
path: root/lib/opentox-ruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/opentox-ruby.rb')
-rw-r--r--lib/opentox-ruby.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/opentox-ruby.rb b/lib/opentox-ruby.rb
new file mode 100644
index 0000000..9f9ff26
--- /dev/null
+++ b/lib/opentox-ruby.rb
@@ -0,0 +1,13 @@
+['rubygems', 'sinatra', 'sinatra/url_for', 'rest_client', 'yaml', 'cgi', 'spork', 'overwrite', 'environment'].each do |lib|
+ require lib
+end
+
+begin
+ require 'openbabel'
+rescue LoadError
+ puts "Please install Openbabel with 'rake openbabel:install' in the compound component"
+end
+
+['opentox', 'compound','dataset', 'parser','serializer', 'algorithm','model','task','validation','feature', 'rest_client_wrapper'].each do |lib|
+ require lib
+end