diff options
author | Christoph Helma <helma@in-silico.ch> | 2013-07-16 17:45:08 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2013-07-16 17:45:08 +0200 |
commit | 80c1821e3a55b0d9c1ee51537e109dff3bc79423 (patch) | |
tree | b77873e557b016d265c97cbc212b73f700453712 /lib/algorithm.rb | |
parent | 10ffab4d032e3e5584c318a45521e774d49bd3d7 (diff) |
subjectid handled by RestClientWrapper
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 a725141..036d345 100644 --- a/lib/algorithm.rb +++ b/lib/algorithm.rb @@ -9,7 +9,7 @@ module OpenTox # @param [optional,Boolean] wait set to false if method should return a task uri instead of the algorithm result # @return [String] URI of new resource (dataset, model, ...) def run params=nil, wait=true - uri = RestClientWrapper.post @uri, params, { :content_type => "text/uri-list", :subjectid => SUBJECTID} + uri = RestClientWrapper.post @uri, params, { :content_type => "text/uri-list"} wait_for_task uri if wait end |