matchms.filtering.metadata_processing.require_compound_name module

matchms.filtering.metadata_processing.require_compound_name.require_compound_name(spectrum: Spectrum) Spectrum | None[source]

Ensure that the compound name is present in the spectrum metadata.