diff options
author | mr <mr@mrautenberg.de> | 2011-01-04 17:51:47 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-01-04 17:51:47 +0100 |
commit | 5527fc0726560448350f5c592eb1ae2f07309a57 (patch) | |
tree | 5b6f7e167300451281a351eb9ecbdff433766345 /algorithm.rb | |
parent | 7092d168aca6adb437500ed6113bf35eab9500b6 (diff) | |
parent | 9400b9abba43cc3a9d2a21d1ab174534de9f9128 (diff) |
Authorization
Diffstat (limited to 'algorithm.rb')
-rw-r--r-- | algorithm.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/algorithm.rb b/algorithm.rb index db6fdec..94f3b5c 100644 --- a/algorithm.rb +++ b/algorithm.rb @@ -25,21 +25,5 @@ class AlgorithmTest < Test::Unit::TestCase end end -=begin - def test_run_external - { - #"http://opentox.informatik.tu-muenchen.de:8080/OpenTox-dev/algorithm/J48" => {:dataset_uri => "http://apps.ideaconsult.net:8080/ambit2/dataset/10", :prediction_feature => "http://apps.ideaconsult.net:8080/ambit2/feature/21595"}, - #"http://apps.ideaconsult.net:8080/ambit2/algorithm/toxtreeskinirritation" => {:dataset_uri => "http://apps.ideaconsult.net:8080/ambit2/dataset/2698" }, # TASK redirects to model - "http://opentox.informatik.tu-muenchen.de:8080/OpenTox-dev/algorithm/CDKPhysChem" => {:dataset_uri => "http://apps.ideaconsult.net:8080/ambit2/dataset/2698" }, - #"http://apps.ideaconsult.net:8080/ambit2/algorithm/org.openscience.cdk.qsar.descriptors.molecular.ALOGPDescriptor" => {:dataset_uri => "http://apps.ideaconsult.net:8080/ambit2/dataset/2698" } - #"http://opentox.ntua.gr:3000/algorithm/svm" - }.each do |uri,params| - algorithm = OpenTox::Algorithm::Generic.new uri - dataset_uri = algorithm.run(params) - dataset = OpenTox::Dataset.find dataset_uri - puts dataset.to_yaml - end - end -=end end |