diff options
Diffstat (limited to 'lib/opentox-ruby.rb')
-rw-r--r-- | lib/opentox-ruby.rb | 14 |
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 |