summaryrefslogtreecommitdiff
path: root/lib/opentox-ruby.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-03-09 12:31:05 +0100
committerChristoph Helma <helma@in-silico.ch>2011-03-09 12:31:05 +0100
commitc651fe10fe5e09dbfdf2b3abd420fc2fc0051937 (patch)
tree30029f9c3246de739aaf7b66a490c01b7b147f04 /lib/opentox-ruby.rb
parent5233ab341757557c536ed8cc8eefd79a936b4295 (diff)
parent66f2ee967317954568562510111b0d832881547d (diff)
Merge branch 'release/v1.0.0'v1.0.0
Conflicts: lib/dataset.rb
Diffstat (limited to 'lib/opentox-ruby.rb')
-rw-r--r--lib/opentox-ruby.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/opentox-ruby.rb b/lib/opentox-ruby.rb
new file mode 100644
index 0000000..ab8d824
--- /dev/null
+++ b/lib/opentox-ruby.rb
@@ -0,0 +1,14 @@
+['rubygems', 'sinatra', 'sinatra/url_for', 'ohm', 'rest_client', 'yaml', 'cgi', 'spork', 'error', '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', 'authorization', 'policy', 'helper', 'to-html' ].each do |lib|
+ require lib
+end