matchms.filtering.metadata_processing.repair_precursor_is_parent_mass module

matchms.filtering.metadata_processing.repair_precursor_is_parent_mass.repair_precursor_is_parent_mass(spectrum_in: <module 'matchms.Spectrum' from '/home/docs/checkouts/readthedocs.org/user_builds/matchms/checkouts/latest/readthedocs/../matchms/Spectrum.py'>, mass_tolerance)[source]

Repairs parent mass and precursor mz if the parent mass is entered instead of the precursor_mz