From b1d0619b5a267befd673809e52e3ca88b3b3b784 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Thu, 29 Feb 2024 11:55:54 +0100 Subject: [PATCH] Fix empty lineages --- app/views/mpa/pept2data.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/mpa/pept2data.json.jbuilder b/app/views/mpa/pept2data.json.jbuilder index 164c4ec..e129ad3 100644 --- a/app/views/mpa/pept2data.json.jbuilder +++ b/app/views/mpa/pept2data.json.jbuilder @@ -1,7 +1,7 @@ json.peptides @response do |peptide, lca| json.sequence peptide json.lca lca - json.lineage(@lineages[lca]) + json.lineage @lineages[lca] json.fa do json.counts {} json.data {}