summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorot7 <ot7@toxcreate3.in-silico.ch>2012-01-10 10:54:07 +0100
committerot7 <ot7@toxcreate3.in-silico.ch>2012-01-10 10:54:07 +0100
commit33d9217423a9b724bd707ffa03edc5b1482a4bc3 (patch)
tree498de3c881b28edb19ecac541a5abce0e74505f8
parent6374df2b69c039ffbc269a70198b94360b68e8de (diff)
Fixed bug
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
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