Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Apr 15, 2024
1 parent e717df6 commit 1d7fe4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/controllers/mpa/pept2data_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ def pept2data
# Request the suffix array search service
search_results = search(peptides, @equate_il)

@response = search_results["result"]
@response = search_results["result"].map do |entry|
entry.delete("taxa")
entry.delete("uniprot_accessions")
entry
end

# proteins = Set.new
# search_results["result"].each do |result|
Expand Down

0 comments on commit 1d7fe4c

Please sign in to comment.