Description
What is the type of your request?
- Incomplete / missing
- Typo
- Unclear
- Not reproducible
Include a description of your report
I am trying to use PrecursorCorrection function to correct for unassigned charge in my .raw file that is now converted to mzML using preoteowizard. I followed documentation at https://pyopenms.readthedocs.io/en/latest/apidocs/_autosummary/pyopenms/pyopenms.PrecursorCorrection.html
Here is the code I used:
pc = oms.PrecursorCorrection()
corrected_indices = pc.correctToNearestFeature(oms.FeatureMap(), centroided_exp, rt_tolerance_s=0, mz_tolerance=5,
ppm=True, believe_charge=False, keep_original=False, all_matching_features=False, max_trace=2, debug_level=0)
I basically set believe_charge to False, and guessed what the other parameter values may be as there was no example in the documentation. The code runs without error but it does not rectify errors that exist in the original .raw file. Can you please provide a suggestion on what maybe my error. Thanks!