From 9b9a57c764d32f805dfdfc4664cfff187e69d854 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Mon, 11 Mar 2024 17:01:51 +0100 Subject: [PATCH] Convert integer to string --- app/controllers/mpa_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/mpa_controller.rb b/app/controllers/mpa_controller.rb index a84dfbf..dd6295e 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"]] + entry["lineage"] = @lineages[entry["lca"].to_s] end @response