Skip to content

Commit

Permalink
Strip lines
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Feb 29, 2024
1 parent 4d02972 commit af9caf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/mpa_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def pept2data

@response = Hash.new
processed_peptides.each do |line|
splitted = line.split(";")
splitted = line.rstrip.split(";")
# Skip taxa that are not found
unless splitted[1] == "/"
@response[splitted[0]] = splitted[1]
Expand Down

0 comments on commit af9caf4

Please sign in to comment.