Skip to content

Commit

Permalink
retrieve taxa from JSON object
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Mar 12, 2024
1 parent 0d28009 commit ab28d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def pept2taxa
response_data["result"].each do |item|
taxon_objs = []
for taxon_id in item["taxa"]
unless taxon_information.key? taxon_id
unless taxon_id_to_obj.key? taxon_id
taxon_objs.append(taxon_id_to_obj[taxon_information])
end
end
Expand Down

0 comments on commit ab28d35

Please sign in to comment.