summaryrefslogtreecommitdiff
path: root/lib/algorithm.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-05-06 11:32:05 +0200
committermguetlein <martin.guetlein@gmail.com>2010-05-06 11:32:05 +0200
commit9e356d0d94ea4fe210ea7cefce5d4c1179cb63cd (patch)
tree486bd97d9e968c56c755dfa69331a8cabc70895f /lib/algorithm.rb
parent8439bb9b337bded4a54018c03500a15082bce6b0 (diff)
major change: using literal datatypes in owl
Diffstat (limited to 'lib/algorithm.rb')
-rw-r--r--lib/algorithm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/algorithm.rb b/lib/algorithm.rb
index 8083db2..7a25408 100644
--- a/lib/algorithm.rb
+++ b/lib/algorithm.rb
@@ -21,7 +21,7 @@ module OpenTox
def self.create_model(params)
LOGGER.debug params
LOGGER.debug File.basename(__FILE__) + ": creating model"
- resource = RestClient::Resource.new(File.join(@@config[:services]["opentox-algorithm"], "lazar"), :user => @@users[:users].keys[0], :password => @@users[:users].values[0], :content_type => "application/x-yaml")
+ resource = RestClient::Resource.new(File.join(@@config[:services]["opentox-algorithm"], "lazar"), :user => @@users[:users].keys[0], :password => @@users[:users].values[0], :content_type => "text/x-yaml")
@uri = resource.post(:dataset_uri => params[:dataset_uri], :feature_uri => params[:feature_uri], :feature_generation_uri => File.join(@@config[:services]["opentox-algorithm"], "fminer")).chomp
end