Skip to content

Commit

Permalink
fix equate IL
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Apr 16, 2024
1 parent 9777ea1 commit 7175643
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/controllers/mpa/pept2data_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Mpa::Pept2dataController < Mpa::MpaController

def pept2data
peptides = params[:peptides] || []
missed = params[:missed] || false
missed = params[:missed].nil? ? false || params[:missed]
equate_il = params[:equate_il].nil? ? true : params[:equate_il]

@response = Hash.new
Expand All @@ -20,7 +20,6 @@ def pept2data
taxa = []
@response.each do |result|
taxa.append(result["lca"])
result["equate"] = equate_il
end

# Retrieve all lineages at once
Expand Down

0 comments on commit 7175643

Please sign in to comment.