Skip to content

Commit

Permalink
use input sequences in pept2taxa
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Mar 12, 2024
1 parent 5a1e9ec commit bb9ee0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def pept2taxa
@result = {}

# Convert the peptides array into a JSON string
json_data = {peptides: peptides}.to_json
json_data = {peptides: @input}.to_json

# The URL to which the request will be sent
uri = URI.parse("http://localhost:3000/search")
Expand Down

0 comments on commit bb9ee0a

Please sign in to comment.