summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-04-05 10:40:35 +0200
committerAndreas Maunz <andreas@maunz.de>2012-04-05 10:40:35 +0200
commitb649a5755e247ea564b8c3202a9bf09d65d6f229 (patch)
tree9d36e4ac721c07e90d3386dd2c36d8c945fa3cbd
parent97852057f846a088e76970dc0d1a6756058299ec (diff)
POST target for all descriptors changed to /pc/AllDescriptors
-rw-r--r--lib/compound.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compound.rb b/lib/compound.rb
index f02d403..87be5e3 100644
--- a/lib/compound.rb
+++ b/lib/compound.rb
@@ -256,7 +256,7 @@ module OpenTox
LOGGER.debug "#{entry.size} entries in feature ds for query." unless entry.nil?
if entry.nil?
temp_ds = OpenTox::Dataset.create; temp_ds.add_compound(self.uri); temp_uri = temp_ds.save
- uri = RestClientWrapper.post(File.join(CONFIG[:services]["opentox-algorithm"], "/pc"), {:dataset_uri => temp_uri, :pc_type => pc_type, :lib => lib})
+ uri = RestClientWrapper.post(File.join(CONFIG[:services]["opentox-algorithm"], "/pc/AllDescriptors"), {:dataset_uri => temp_uri, :pc_type => pc_type, :lib => lib})
ds = OpenTox::Dataset.find(uri)
entry = ds.data_entries[self.uri]
ds.delete