Skip to content

Commit

Permalink
Convert string to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Mar 11, 2024
1 parent 9b9a57c commit e178bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/mpa_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def pept2data
end

@response.each do |entry|
entry["lineage"] = @lineages[entry["lca"].to_s]
entry["lineage"] = @lineages[entry["lca"].to_i]
end

@response
Expand Down

0 comments on commit e178bb7

Please sign in to comment.