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 e4d2bf7 commit 0e19c97
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 @@ -87,7 +87,7 @@ def pept2taxa
all_taxa = Set.new

response_data["result"].each do |item|
all_taxa.merge(item.taxa)
all_taxa.merge(item["taxa"])
end

# Now, retrieve all information associated with the taxa
Expand Down

0 comments on commit 0e19c97

Please sign in to comment.