Skip to content

Commit

Permalink
Fix integer string error
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Apr 15, 2024
1 parent 0c81e07 commit 2384a4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions app/controllers/mpa/pept2data_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ def pept2data
# Request the suffix array search service
search_results = search(peptides, @equate_il)

puts search_results

proteins = Set.new
search_results.each do |result|
search_results["result"].each do |result|
proteins.merge(result['uniprot_accessions'])
end

Expand Down
2 changes: 1 addition & 1 deletion config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
#
port ENV.fetch("PORT") { 3000 }
port ENV.fetch("PORT") { 3001 }

# Specifies the `environment` that Puma will run in.
#
Expand Down

0 comments on commit 2384a4a

Please sign in to comment.