From fb0ffbc989a3c9c30136d2616e2c8b13ae83a5f7 Mon Sep 17 00:00:00 2001 From: tibvdm Date: Mon, 22 Apr 2024 16:22:11 +0200 Subject: [PATCH] no filter --- app/controllers/mpa/pept2filtered_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/mpa/pept2filtered_controller.rb b/app/controllers/mpa/pept2filtered_controller.rb index edf34cf..faa62dd 100644 --- a/app/controllers/mpa/pept2filtered_controller.rb +++ b/app/controllers/mpa/pept2filtered_controller.rb @@ -19,8 +19,8 @@ def pept2filtered @response = search(peptides, equate_il, cutoff).uniq.select { |result| !result["cutoff_used"] } # TODO: we should remove this or use a different approach - @response.each do |result| - result["taxa"] = result["taxa"].select { |taxon_id| taxa_filter_ids.include?(taxon_id) }.uniq - end + # @response.each do |result| + # result["taxa"] = result["taxa"].select { |taxon_id| taxa_filter_ids.include?(taxon_id) }.uniq + # end end end