Clean adduct and make it consistent in style. Will transform adduct strings of type ‘M+H+’ to ‘[M+H]+’.
spectrum_in – Matchms Spectrum object.
Contents:
Fragments
Metadata
Pipeline
Scores
Spectrum
SpectrumProcessor
calculate_scores()
set_matchms_logger_level()