Skip to content

Commit

Permalink
Without explicit filter
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Mar 12, 2024
1 parent 8477718 commit c22ad35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/api/api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ def pept2taxa

response_data["result"].each do |item|
taxon_objs = []
for taxon_id in item["taxa"]
item["taxa"].each do |taxon_id|
if taxon_id_to_obj.key? taxon_id
taxon_objs.append(taxon_id_to_obj[taxon_information])
end
end
@result[item["sequence"]] = taxon_objs
end

filter_input_order
# filter_input_order

respond_with(@result)
end
Expand Down

0 comments on commit c22ad35

Please sign in to comment.