Skip to content

Commit

Permalink
Partially revert last changes ( add intensity population again )
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre99999999 committed Oct 31, 2024
1 parent e2e6ea2 commit bb1a8ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pwiz_aux/msrc/utility/vendor_api/Bruker/TimsData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -854,12 +854,12 @@ void TimsSpectrum::getIsolationData(std::vector<IsolationInfo>& isolationInfo) c
if (HasPasefPrecursorInfo())
{
const auto& info = GetPasefPrecursorInfo();
isolationInfo.resize(1, IsolationInfo{ info.isolationMz, IsolationMode_On, info.collisionEnergy });
isolationInfo.resize(1, IsolationInfo{ info.isolationMz, IsolationMode_On, info.collisionEnergy, info.intensity });
}
else if (!frame_.diaPasefIsolationInfoByScanNumber_.empty())
{
const auto& info = getDiaPasefIsolationInfo();
isolationInfo.resize(1, IsolationInfo{ info.isolationMz, IsolationMode_On, info.collisionEnergy });
isolationInfo.resize(1, IsolationInfo{ info.isolationMz, IsolationMode_On, info.collisionEnergy, 0 });
}
else if (frame_.precursorMz_.is_initialized())
{
Expand Down

0 comments on commit bb1a8ee

Please sign in to comment.