summaryrefslogtreecommitdiff
path: root/dataset.rb
diff options
context:
space:
mode:
Diffstat (limited to 'dataset.rb')
-rw-r--r--dataset.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/dataset.rb b/dataset.rb
index fe249b2..077446e 100644
--- a/dataset.rb
+++ b/dataset.rb
@@ -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,