summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2011-12-23 15:24:56 +0100
committerdavor <vorgrimmlerdavid@gmx.de>2011-12-23 15:24:56 +0100
commit80bc28fccde34d9dcfe1621e466cf0930158591f (patch)
tree7f2cde805942676fbde67d52ff6f6237c1404b0d
parenta74fc0029e810d699b94e21c9fe922d66a4d5c4f (diff)
Fixed bug.
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index f61be83..d66312e 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -101,7 +101,7 @@ post '/lazar/?' do
#lazar.nr_hits = true
lazar.feature_calculation_algorithm = "Substructure.match_hits"
end
- params[:nr_hits] = "true" if lazar.feature_calculation_algorithm = "Substructure.match_hits" #not sure if this line in needed
+ params[:nr_hits] = "true" if lazar.feature_calculation_algorithm == "Substructure.match_hits" #not sure if this line in needed
# Algorithm
lazar.prediction_algorithm = "Neighbors.#{params[:prediction_algorithm]}" unless params[:prediction_algorithm].nil?