Commit 7e568e30 authored by Langella Olivier's avatar Langella Olivier
Browse files

regression fixed in post matching retention time computation

parent 40a9bdab
......@@ -253,7 +253,7 @@ PeptideRt::computePostMatchingTimeReferences()
_accumulator.push_back(area * _accumulator_rt_aligned_peak_reference.at(i)
.get()
->getMaxXicElement()
.y);
.x);
w_list.push_back(area);
}
......
......@@ -93,6 +93,10 @@ class PeptideRt
const std::vector<MsMsRtIntensity>
getObservedRtList(const Msrun *_p_msrun) const;
bool isObservedIn(Msrun *_p_msrun) const;
/** @brief keep trace of matched peak
* required in post matching mode to compute the new retention time of reference
*/
void postMatchingAlignedPeak(const AlignedXicPeak &aligned_peak);
void computePostMatchingTimeReferences();
pappso::pappso_double getPostMatchedRtTarget() const;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment