summaryrefslogtreecommitdiff
path: root/lib/algorithm.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-03-01 10:21:43 +0100
committerChristoph Helma <helma@in-silico.de>2010-03-01 10:21:43 +0100
commita11d6ddbde79e82888bec072748b1b9dd9e8af60 (patch)
tree04ad819d5790bedd6a4bb2ddf917d05ca8bf1ab2 /lib/algorithm.rb
parent771e8acd790d7c2d5c54c7395ae650a6f4bd3bf0 (diff)
wrapper version bumped to 1.3.0
Diffstat (limited to 'lib/algorithm.rb')
-rw-r--r--lib/algorithm.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/algorithm.rb b/lib/algorithm.rb
index 179a4a2..817340f 100644
--- a/lib/algorithm.rb
+++ b/lib/algorithm.rb
@@ -22,6 +22,10 @@ module OpenTox
resource = RestClient::Resource.new(params[:feature_generation_uri], :user => @@users[:users].keys[0], :password => @@users[:users].values[0])
resource.post :dataset_uri => params[:dataset_uri], :feature_uri => params[:feature_uri]
end
+
+ def self.uri
+ File.join(@@config[:services]["opentox-algorithm"], "fminer")
+ end
end
class Lazar
@@ -50,6 +54,10 @@ module OpenTox
@uri = resource.post :dataset_uri => params[:dataset_uri], :feature_uri => params[:feature_uri], :feature_generation_uri => File.join(@@config[:services]["opentox-algorithm"], "fminer")
end
+ def self.uri
+ File.join(@@config[:services]["opentox-algorithm"], "lazar")
+ end
+
end
class Similarity