From 33d9217423a9b724bd707ffa03edc5b1482a4bc3 Mon Sep 17 00:00:00 2001 From: ot7 Date: Tue, 10 Jan 2012 10:54:07 +0100 Subject: Fixed bug --- lazar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazar.rb b/lazar.rb index 6c2d8ed..5182200 100644 --- a/lazar.rb +++ b/lazar.rb @@ -162,7 +162,7 @@ post '/lazar/?' do entry.keys.each do |feature| # CASE 1: Substructure - if lazar.feature_calculation_algorithm == "Substructure.match" || lazar.feature_calculation_algorithm == "Substructure.match_hits" + if ((lazar.feature_calculation_algorithm == "Substructure.match") || (lazar.feature_calculation_algorithm == "Substructure.match_hits")) if training_features.features[feature] smarts = training_features.features[feature][OT.smarts] #lazar.fingerprints[compound] << smarts -- cgit v1.2.3