From 78fd1d92534077e8df729f806c2ef4620c05e145 Mon Sep 17 00:00:00 2001 From: tibvdm Date: Tue, 16 Apr 2024 11:54:31 +0200 Subject: [PATCH] fix equate IL --- app/controllers/private_api/proteins_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/private_api/proteins_controller.rb b/app/controllers/private_api/proteins_controller.rb index cef14af..a4f82f3 100644 --- a/app/controllers/private_api/proteins_controller.rb +++ b/app/controllers/private_api/proteins_controller.rb @@ -23,7 +23,7 @@ def proteins search_result = search([ peptide ], equate_il) # Collect all protein information - @proteins = UniprotEntry.find(search_result["uniprot_accessions"]) + @proteins = UniprotEntry.where(uniprot_accession_number: search_result["uniprot_accessions"]) @lca = search_result["lca"] || -1