Skip to content

Exception during conversion #126

@tomas-pluskal

Description

@tomas-pluskal

Hi, I downloaded the latest ThermoRawFileParser 1.3.4 and I see this exception when parsing a .raw file:

C:\ThermoRawFileParser>ThermoRawFileParser.exe -i 202112_DIMS_MS4_DDA_Orbitrap_IDX.raw
2021-12-08 09:47:29 INFO Started parsing 202112_DIMS_MS4_DDA_Orbitrap_IDX.raw
2021-12-08 09:47:30 INFO Processing 1280 MS scans
10% 2021-12-08 09:47:31 ERROR An unexpected error occured while parsing file:202112_DIMS_MS4_DDA_Orbitrap_IDX.raw
2021-12-08 09:47:31 ERROR System.ObjectDisposedException: Cannot access a closed file.
   at System.IO.__Error.FileNotOpen()
   at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
   at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
   at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at ThermoRawFileParser.Writer.MzMlSpectrumWriter.Write(IRawDataPlus rawFile, Int32 firstScanNumber, Int32 lastScanNumber) in /home/niels/Documents/Development/Projects/ThermoRawFileParser/Writer/MzMlSpectrumWriter.cs:line 577
   at ThermoRawFileParser.RawFileParser.ProcessFile(ParseInput parseInput) in /home/niels/Documents/Development/Projects/ThermoRawFileParser/RawFileParser.cs:line 139
   at ThermoRawFileParser.RawFileParser.TryProcessFile(ParseInput parseInput) in /home/niels/Documents/Development/Projects/ThermoRawFileParser/RawFileParser.cs:line 62

The raw file is attached.

202112_DIMS_MS4_DDA_Orbitrap_IDX.zip

(originally reported by @robinschmid)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions