Skip to content

Commit be47d3c

Browse files
Merge pull request #14 from zontal/bugfix/treat-last-spectrum-0
Bugfix/treat last spectrum 0
2 parents 8da0889 + 2e4e8c7 commit be47d3c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

RawFileParser.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,6 @@ private static void ProcessFile(ParseInput parseInput)
146146
// Get the first and last scan from the RAW file
147147
firstScanNumber = rawFile.RunHeaderEx.FirstSpectrum;
148148
lastScanNumber = rawFile.RunHeaderEx.LastSpectrum;
149-
150-
// Check for empty file
151-
if (lastScanNumber < 1)
152-
{
153-
throw new RawFileParserException("Empty RAW file, no output will be produced");
154-
}
155149
}
156150

157151
if (parseInput.MetadataFormat != MetadataFormat.NONE)

0 commit comments

Comments
 (0)