diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-12-16 17:30:08 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-12-16 17:30:08 +0100 |
commit | 9400b9abba43cc3a9d2a21d1ab174534de9f9128 (patch) | |
tree | ef7d7b25f839254157eae262be50559719a8aa59 /algorithm.rb | |
parent | 96044090c5955a475388d35eb1d7aa51210266ef (diff) |
lazar results rounded to 4 decimal points
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 a5f35d1..055f0a2 100644 --- a/algorithm.rb +++ b/algorithm.rb @@ -24,21 +24,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 |