diff --git a/app/controllers/mpa_controller.rb b/app/controllers/mpa_controller.rb index dd6295e..14d1c30 100644 --- a/app/controllers/mpa_controller.rb +++ b/app/controllers/mpa_controller.rb @@ -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