summaryrefslogtreecommitdiff
path: root/lib/compound.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compound.rb')
-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