From a2a2738464a5f74b034ecbde67bf1cd272bddf52 Mon Sep 17 00:00:00 2001 From: tibvdm Date: Tue, 16 Apr 2024 11:08:19 +0200 Subject: [PATCH] test --- app/controllers/mpa/pept2data_controller.rb | 1 + app/views/mpa/pept2data/pept2data.json.jbuilder | 1 + 2 files changed, 2 insertions(+) diff --git a/app/controllers/mpa/pept2data_controller.rb b/app/controllers/mpa/pept2data_controller.rb index 29c2546..6f0ad0e 100644 --- a/app/controllers/mpa/pept2data_controller.rb +++ b/app/controllers/mpa/pept2data_controller.rb @@ -15,6 +15,7 @@ def pept2data # Request the suffix array search service @response = search(peptides, equate_il).uniq + @response["equated_IL"] = equate_il # Collect all lca's to look up the lineages taxa = [] diff --git a/app/views/mpa/pept2data/pept2data.json.jbuilder b/app/views/mpa/pept2data/pept2data.json.jbuilder index 12abf2a..3e738de 100644 --- a/app/views/mpa/pept2data/pept2data.json.jbuilder +++ b/app/views/mpa/pept2data/pept2data.json.jbuilder @@ -7,3 +7,4 @@ json.peptides @response do |peptide| json.data peptide["fa"]["data"] end end +json.equated_IL @response["equated_IL"]