From a841a5dbb179d9f1599c2d8201a2734aaefe6a6f Mon Sep 17 00:00:00 2001 From: tibvdm Date: Mon, 15 Apr 2024 22:11:29 +0200 Subject: [PATCH] result field --- app/controllers/mpa/pept2data_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/mpa/pept2data_controller.rb b/app/controllers/mpa/pept2data_controller.rb index e86d1a7..c1665f6 100644 --- a/app/controllers/mpa/pept2data_controller.rb +++ b/app/controllers/mpa/pept2data_controller.rb @@ -12,7 +12,7 @@ def pept2data # Request the suffix array search service search_results = search(peptides, @equate_il) - @response = search_results + @response = search_results["result"] # proteins = Set.new # search_results["result"].each do |result|