From cc08e6beda7f7d70ebf6c6929a22d1a0cd7c1a20 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 24 May 2016 15:41:24 +0200 Subject: tests fixed. DescriptorTest#test_compound_all may fail within all.rb --- lib/dataset.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/dataset.rb') diff --git a/lib/dataset.rb b/lib/dataset.rb index 38a55a8..9138452 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -229,6 +229,11 @@ module OpenTox save end + def delete + compounds.each{|c| c.dataset_ids.delete id.to_s} + super + end + end # Dataset for lazar predictions -- cgit v1.2.3