summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2013-07-10 17:49:08 +0200
committerChristoph Helma <helma@in-silico.ch>2013-07-10 17:49:08 +0200
commitd5ba9191ef4ee3b36dc75bda45e44bd49226ab02 (patch)
tree020ffb41f78367de2d3c0ada17c576c507083b15
parent547181fb7660fb73c51822081177206e5b2f13ec (diff)
descriptor-long test fixed
-rw-r--r--opentox-client-all.rb1
-rw-r--r--opentox-client-short.rb1
-rw-r--r--test/descriptor-long.rb4
3 files changed, 1 insertions, 5 deletions
diff --git a/opentox-client-all.rb b/opentox-client-all.rb
index fc9cd15..7de0bc4 100644
--- a/opentox-client-all.rb
+++ b/opentox-client-all.rb
@@ -4,6 +4,5 @@ all = Dir["test/*.rb"]
exclude = [
"test/setup.rb",
"test/lazarweb.rb",
- "test/pc-lazar.rb",
] + Dir["test/toxbank*.rb"]
(all - exclude).each {|f| require_relative f }
diff --git a/opentox-client-short.rb b/opentox-client-short.rb
index e37da7d..99b2608 100644
--- a/opentox-client-short.rb
+++ b/opentox-client-short.rb
@@ -4,6 +4,5 @@ all = Dir["test/*.rb"]
exclude = [
"test/setup.rb",
"test/lazarweb.rb",
- "test/pc-lazar.rb",
] + Dir["test/toxbank*.rb"] + Dir["test/*long.rb"]
(all - exclude).each {|f| require_relative f }
diff --git a/test/descriptor-long.rb b/test/descriptor-long.rb
index 4787d96..6b232cf 100644
--- a/test/descriptor-long.rb
+++ b/test/descriptor-long.rb
@@ -9,14 +9,12 @@ end
class DescriptorLongTest < MiniTest::Test
-
def test_dataset_all
- a = OpenTox::Algorithm::Generic.new File.join($algorithm[:uri],"descriptor")
dataset = OpenTox::Dataset.new
dataset.upload File.join(DATA_DIR,"hamster_carcinogenicity.mini.csv")
d = OpenTox::Algorithm::Descriptor.physchem dataset
assert_equal dataset.compounds.size, d.data_entries.size
- assert_equal 317, d.data_entries[0].size
+ assert_equal 316, d.data_entries[0].size
d.delete
end