-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
Describe the bug
With a particular mzML file that someone shared with me, the offset_dict is not built correctly the first time. When I run:
msrun = pymzml.run.Reader(test)
msrun[0]
it gives "KeyError: 0". But, if I run:
msrun = pymzml.run.Reader(test)
msrun[1]
msrun[0]
all is good. It seems to only happen when calling msrun[0]. Other data that is not zero indexed is fine. The file was converted from MGF and is uploaded here.
Any idea how to fix this?
To Reproduce
See above.
Desktop (please complete the following information):
- OS: Windows
- Version: 2.5.11
Metadata
Metadata
Assignees
Labels
No labels