diff options
author | ist <ist@ist.opentox.org> | 2010-05-20 13:49:07 +0200 |
---|---|---|
committer | ist <ist@ist.opentox.org> | 2010-05-20 13:49:07 +0200 |
commit | 7de266cf17328f369d4da346cb26ca4469447cde (patch) | |
tree | bedb27ed78d553129ed1b131e84a909396f5a2c0 | |
parent | 31f7b3c43fd5d9973bd3b77171aae3b9a2a311b3 (diff) |
Included fminer2 config
-rw-r--r-- | application.rb | 2 | ||||
-rw-r--r-- | fminer.rb | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/application.rb b/application.rb index 44eb888..05749b7 100644 --- a/application.rb +++ b/application.rb @@ -1,5 +1,5 @@ require 'rubygems' -require 'libfminer/fminer' # has to be included before openbabel, otherwise we have strange SWIG overloading problems +require 'libfminer/libbbrc/bbrc' # has to be included before openbabel, otherwise we have strange SWIG overloading problems gem 'opentox-ruby-api-wrapper', '= 1.5.1' require 'opentox-ruby-api-wrapper' @@ -1,7 +1,6 @@ ENV['FMINER_SMARTS'] = 'true' ENV['FMINER_PVALUES'] = 'true' -@@fminer = Fminer::Fminer.new -@@fminer.SetAromatic(true) +@@fminer = Bbrc::Bbrc.new get '/fminer/?' do if File.exists?('public/fminer.owl') @@ -9,7 +8,7 @@ get '/fminer/?' do else owl = OpenTox::Owl.create 'Algorithm', url_for('/fminer',:full) owl.set 'title',"fminer" - owl.set 'creator',"http://github.com/amaunz/libfminer" + owl.set 'creator',"http://github.com/amaunz/fminer2" owl.parameters = { "Dataset URI" => { :scope => "mandatory", :value => "dataset_uri" }, "Feature URI for dependent variable" => { :scope => "mandatory", :value => "feature_uri" } |