diff options
author | davor <vorgrimmlerdavid@gmx.de> | 2011-12-23 15:24:56 +0100 |
---|---|---|
committer | davor <vorgrimmlerdavid@gmx.de> | 2011-12-23 15:24:56 +0100 |
commit | 80bc28fccde34d9dcfe1621e466cf0930158591f (patch) | |
tree | 7f2cde805942676fbde67d52ff6f6237c1404b0d | |
parent | a74fc0029e810d699b94e21c9fe922d66a4d5c4f (diff) |
Fixed bug.
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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? |