diff --git a/app/controllers/mpa/pept2data_controller.rb b/app/controllers/mpa/pept2data_controller.rb index 95cbd18..b993d20 100644 --- a/app/controllers/mpa/pept2data_controller.rb +++ b/app/controllers/mpa/pept2data_controller.rb @@ -12,13 +12,7 @@ def pept2data # Request the suffix array search service search_results = search(peptides, @equate_il) - #@response = search_results - - search_results.each do |entry| - new_entry = {} - new_entry["sequence"] = entry - @response = new_entry - end + @response = search_results.result # proteins = Set.new # search_results["result"].each do |result|