Skip to content

Commit

Permalink
Importer: Remove requirement that precursor scan number is prev ms1
Browse files Browse the repository at this point in the history
Now allow other ms1 between precursor scan number and scan that
references that precursor scan number
  • Loading branch information
danjasuw committed Jun 8, 2018
1 parent 4caecb6 commit 507b221
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ public String getFileName() {
else if(header.getMsLevel() > 1) {

if(header.getPrecursorScanNum() > 0) {
if(header.getPrecursorScanNum() != this.lastMs1ScanNumber) {
throw new DataProviderException("last MS1 scan: "+this.lastMs1ScanNumber+
" is not the same as precursor scan number: "+header.getPrecursorScanNum()+
" for scan: "+header.getNum());
}
// if(header.getPrecursorScanNum() != this.lastMs1ScanNumber) {
// throw new DataProviderException("last MS1 scan: "+this.lastMs1ScanNumber+
// " is not the same as precursor scan number: "+header.getPrecursorScanNum()+
// " for scan: "+header.getNum());
// }
mScan.setPrecursorScanNum(header.getPrecursorScanNum());
}
else {
Expand Down

0 comments on commit 507b221

Please sign in to comment.