summaryrefslogtreecommitdiff
path: root/lib/dataset.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r--lib/dataset.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dataset.rb b/lib/dataset.rb
index 3573633..1d4ad55 100644
--- a/lib/dataset.rb
+++ b/lib/dataset.rb
@@ -234,7 +234,7 @@ module OpenTox
# @return [String] SDF representation
def to_sdf
@compounds.inject { |sum, c|
- sum + c.to_sdf
+ sum + OpenTox::Compound.new(c).to_sdf
}
end