diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-11-30 12:43:04 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-11-30 12:43:04 +0100 |
commit | d3190ba5fd87db05bdf3219dae00afaf31257718 (patch) | |
tree | 32a929a8512922522d3ed303616058713ace9310 /lib/algorithm.rb | |
parent | 8ff5d7de9683d9bbe6103dd42d10aefbf2f4a021 (diff) |
Accept: text/uri-list for running algoritms
Diffstat (limited to 'lib/algorithm.rb')
-rw-r--r-- | lib/algorithm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/algorithm.rb b/lib/algorithm.rb index a6fa4a7..a2f7786 100644 --- a/lib/algorithm.rb +++ b/lib/algorithm.rb @@ -15,7 +15,7 @@ module OpenTox # @param [optional,Hash] params Algorithm parameters # @return [String] URI of new resource (dataset, model, ...) def run(params=nil) - RestClientWrapper.post(@uri, params).to_s + RestClientWrapper.post(@uri, {:accept => 'text/uri-list'}, params).to_s end # Get OWL-DL representation in RDF/XML format |