summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-08-15 13:58:21 +0200
committerAndreas Maunz <andreas@maunz.de>2012-08-15 13:58:21 +0200
commit20963ebcfb6929c3e2aed6849dcadb20ff086603 (patch)
tree6747695523093adb5dad8601bb74fc4cd343e01b
parentd6cbc671ed6b753ccf09fa47ad243cd220734933 (diff)
Bugfix: using normal '"' to quote SMARTS
-rw-r--r--lib/serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serializer.rb b/lib/serializer.rb
index 03ca285..5ab2c68 100644
--- a/lib/serializer.rb
+++ b/lib/serializer.rb
@@ -465,7 +465,7 @@ module OpenTox
# prepare for subgraphs
have_substructures = features.collect{ |id| dataset.features[id][RDF.type].include? OT.Substructure}.compact.uniq
if have_substructures.size == 1 && have_substructures[0]
- features_smarts = features.collect{ |id| "'" + dataset.features[id][OT.smarts] + "'" }
+ features_smarts = features.collect{ |id| "\"" + dataset.features[id][OT.smarts] + "\"" }
end
# gather missing features