Skip to content

Commit

Permalink
update set creation
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Mar 12, 2024
1 parent bb9ee0a commit e4d2bf7
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 @@ -84,7 +84,7 @@ def pept2taxa
# Parse the response body as JSON
response_data = JSON.parse(response.body)

all_taxa = set()
all_taxa = Set.new

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

0 comments on commit e4d2bf7

Please sign in to comment.