Skip to content

Commit

Permalink
no filter
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Apr 22, 2024
1 parent de4f99a commit fb0ffbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/controllers/mpa/pept2filtered_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fb0ffbc

Please sign in to comment.