From 20963ebcfb6929c3e2aed6849dcadb20ff086603 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Wed, 15 Aug 2012 13:58:21 +0200 Subject: Bugfix: using normal '"' to quote SMARTS --- lib/serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3