diff options
author | ot7 <ot7@toxcreate3.in-silico.ch> | 2012-01-10 10:54:07 +0100 |
---|---|---|
committer | ot7 <ot7@toxcreate3.in-silico.ch> | 2012-01-10 10:54:07 +0100 |
commit | 33d9217423a9b724bd707ffa03edc5b1482a4bc3 (patch) | |
tree | 498de3c881b28edb19ecac541a5abce0e74505f8 | |
parent | 6374df2b69c039ffbc269a70198b94360b68e8de (diff) |
Fixed bug
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |