diff options
author | davor <vorgrimmlerdavid@gmx.de> | 2012-01-02 16:58:36 +0100 |
---|---|---|
committer | davor <vorgrimmlerdavid@gmx.de> | 2012-01-02 16:58:36 +0100 |
commit | 043a509b1535322314fc12ef235b96de766bba34 (patch) | |
tree | 2cf69954cd2dc8bee02a45cd15dacfcd1d10d53c /dataset.rb | |
parent | 7804c56ae0c8443e21c27a2993e05c82175090df (diff) |
Updated tests for PC
Diffstat (limited to 'dataset.rb')
-rw-r--r-- | dataset.rb | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -27,8 +27,13 @@ class DatasetTest < Test::Unit::TestCase #@new_dataset.delete end -=begin -=end +# def test_get_pc +# ds_uri = OpenTox::RestClientWrapper.post(CONFIG[:services]["opentox-dataset"], {:file => File.new("data/EPAFHM.csv")} ,{:accept => "text/uri-list", :subjectid => @@subjectid}).to_s.chomp +# puts "DS: #{ds_uri}" +# fds_uri = OpenTox::Algorithm.pc_descriptors( { :dataset_uri => ds_uri, :pc_type => "constitutional" } ) +# puts "FDS: #{fds_uri}" +# end + def test_save_external @dataset = OpenTox::Dataset.find "http://apps.ideaconsult.net:8080/ambit2/dataset/2698" @@ -219,8 +224,6 @@ class DatasetTest < Test::Unit::TestCase end end -=begin -=end def dataset_equal(d,d2) assert d.compounds.sort==d2.compounds.sort, |