From 581667b2f6e35d364371dd7779c5a7f6bcf9a6e8 Mon Sep 17 00:00:00 2001 From: tibvdm Date: Tue, 16 Apr 2024 11:19:44 +0200 Subject: [PATCH] fix equate IL --- app/controllers/mpa/pept2data_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/mpa/pept2data_controller.rb b/app/controllers/mpa/pept2data_controller.rb index e1712fd..a281cf6 100644 --- a/app/controllers/mpa/pept2data_controller.rb +++ b/app/controllers/mpa/pept2data_controller.rb @@ -3,7 +3,7 @@ class Mpa::Pept2dataController < Mpa::MpaController def pept2data peptides = params[:peptides] || [] - missed = params[:missed].nil? ? false || params[:missed] + missed = params[:missed].nil? ? false : params[:missed] equate_il = params[:equate_il].nil? ? true : params[:equate_il] @response = Hash.new