Skip to content

Commit

Permalink
update if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Mar 12, 2024
1 parent ab28d35 commit 8477718
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_id_to_obj.key? taxon_id
if taxon_id_to_obj.key? taxon_id
taxon_objs.append(taxon_id_to_obj[taxon_information])
end
end
Expand Down

0 comments on commit 8477718

Please sign in to comment.