Skip to content

Commit

Permalink
Merge pull request #630 from ProteoWizard/bug/fix-empty-sps-check
Browse files Browse the repository at this point in the history
Fixed issue with non-SPS spectra
  • Loading branch information
chambm committed Sep 5, 2019
2 parents 075ea16 + dd70c08 commit 37b2e98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pwiz_aux/msrc/utility/vendor_api/thermo/RawFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,7 @@ void ScanInfoImpl::initialize()
{
// append SPS masses to precursors parsed from filter string
string spsMassesStr = rawfile_->getTrailerExtraValue(scanNumber_, "SPS Masses:") + rawfile_->getTrailerExtraValue(scanNumber_, "SPS Masses Continued:");
bal::trim(spsMassesStr);
if (!spsMassesStr.empty())
{
vector<string> tokens;
Expand Down

0 comments on commit 37b2e98

Please sign in to comment.