opentox/algorithm — Issue #8: fminer fails on dataset
Author: mguetlein
Created: 2011-10-28 12:04:30+00:00
State: open

occured in dev branch

error is:

message: index -1 out of array

in

/home/martin/opentox/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/opentox-ruby-3.0.1/lib/algorithm.rb:94:in `[]='

to reproduce:

```ruby
require "rubygems"
require "opentox-ruby"

class Exception
def message
errorCause ? errorCause.to_yaml : to_s
end
end

params = {:dataset_uri => "http://apps.ideaconsult.net:8080/ambit2/dataset/603204", #micronucleolus
:prediction_feature => "http://apps.ideaconsult.net:8080/ambit2/feature/528321" }
uri = OpenTox::Algorithm::Generic.new(CONFIG[:services]["opentox-algorithm"]+"fminer/bbrc").run(params, nil).to_s
puts uri
```