diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-05-24 15:41:24 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-05-24 15:41:24 +0200 |
commit | cc08e6beda7f7d70ebf6c6929a22d1a0cd7c1a20 (patch) | |
tree | cc1c37d5623a72787e0d74b000692ff380bd45f5 /lib/dataset.rb | |
parent | b2d80ad2e470fcb41af4b747142e5693f2fa4615 (diff) |
tests fixed. DescriptorTest#test_compound_all may fail within all.rb
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r-- | lib/dataset.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |