Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Aug 10, 2023
1 parent 8aa6869 commit c92d5b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/controllers/mpa_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ def pept2filtered
uniprot_ids = []

peptides_under_cutoff = Sequence
.joins(:peptides)
.where(sequence: peptides)
.group('sequences.id')
.having('count(peptides.id) < ?', cutoff)
.pluck(:sequence)
.joins(:peptides)
.where(sequence: peptides)
.group('sequences.id')
.having('count(peptides.id) < ?', cutoff)
.pluck(:sequence)

taxa_filter_ids.each_slice(5000) do |taxa_slice|
sequence_subset = Sequence
Expand Down

0 comments on commit c92d5b2

Please sign in to comment.