Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Apr 16, 2024
1 parent cf79558 commit 7979197
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions app/controllers/mpa/pept2data_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ def pept2data
missed = params[:missed] || false
equate_il = params[:equate_il].nil? ? true : params[:equate_il] == 'true'

if peptides.empty?
return
end

@response = Hash.new

search_time = get_time
Expand Down
4 changes: 0 additions & 4 deletions app/helpers/suffix_array_helper.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
module SuffixArrayHelper
def search(peptides, equate_il)
if peptides.empty?
return
end

# Convert the peptides array into a json string
json_data = { peptides: peptides }.to_json

Expand Down

0 comments on commit 7979197

Please sign in to comment.