Skip to content

Commit

Permalink
added a workaround for misisng collision column
Browse files Browse the repository at this point in the history
  • Loading branch information
picciama committed Oct 31, 2023
1 parent ecdf3c1 commit 96a67d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spectrum_io/raw/msraw.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ def read_mzml(
"""
file_list = MSRaw.get_file_list(source, ext)

# this is a temporary fix until this is changed in spectrum_fundamentals
global MZML_DATA_COLUMNS
MZML_DATA_COLUMNS = MZML_DATA_COLUMNS + ["COLLISION_ENERGY"]

if package == "pymzml":
data = MSRaw._read_mzml_pymzml(file_list, scanidx, *args, **kwargs)
elif package == "pyteomics":
Expand Down

0 comments on commit 96a67d1

Please sign in to comment.