summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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?