We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 898e935 commit da8b587Copy full SHA for da8b587
quantmsutils/mzml/ms1_feature_finder.py
@@ -259,7 +259,9 @@ def process_file(
259
filtered_experiment = oms.MSExperiment()
260
for spec in experiment:
261
if spec.getMSLevel() == self.ms_level:
262
- filtered_experiment.addSpectrum(spec)
+ spec.updateRanges()
263
+ if spec.getMinMZ() > 1.0: # some weird mzML files have spectra with m/z = 0 peaks
264
+ filtered_experiment.addSpectrum(spec)
265
experiment = filtered_experiment
266
267
if experiment.size() == 0:
0 commit comments