diff --git a/crates/sage/src/fdr.rs b/crates/sage/src/fdr.rs index ee5eeb8..75658a3 100644 --- a/crates/sage/src/fdr.rs +++ b/crates/sage/src/fdr.rs @@ -232,10 +232,10 @@ pub fn picked_precursor( let scores = scores .into_par_iter() - .map(|score| (score.ix, score.q)) + .map(|score| ((score.ix, score.decoy), score.q)) .collect::>(); - peaks.par_iter_mut().for_each(|((ix, _), (peak, _))| { + peaks.par_iter_mut().for_each(|((ix), (peak, _))| { peak.q_value = scores[ix]; }); passing