pymzml / pymzML

pymzML - an interface between Python and mzML Mass spectrometry Files
https://pymzml.readthedocs.io/en/latest/
MIT License
158 stars 91 forks source link

Usage of "similarity_to()" #286

Open bathtube opened 2 years ago

bathtube commented 2 years ago

Describe the bug Please help....I'm trying to use "similarity_to" method, however I got an issue like this. How can solve this issue?

---------------list elements checked complete(on 'main.py')----------------- image image

Spectrum data checked on 'main.py' However...

---------------Error occurred on 'spec.py' ----------------- image

Desktop :

fu commented 2 years ago

Hi there, you would need to use the def set_peaks(self, peaks, peak_type): function as peaks can have many different types [raw, centroided, ...]