Skip to content

Commit

Permalink
fix equate IL
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Jun 19, 2024
1 parent a472840 commit 8f7043c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/controllers/api/api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ def set_params
@domains = params[:domains] == 'true'
@extra_info = params[:extra] == 'true'
@remove = params[:remove] == 'true'

@input = @input.map { |s| s.tr('I', 'L') } if @equate_il
end

# prepares the taxonomy query
Expand Down
2 changes: 0 additions & 2 deletions app/controllers/private_api/proteins_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ def proteins
return
end

puts peptide

# Request the suffix array search service
search_result = search([ peptide ], equate_il).first

Expand Down

0 comments on commit 8f7043c

Please sign in to comment.