Skip to content

Commit

Permalink
fix equate IL
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Apr 16, 2024
1 parent f2b5249 commit 78fd1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/private_api/proteins_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 78fd1d9

Please sign in to comment.