pymzML icon indicating copy to clipboard operation
pymzML copied to clipboard

Usage of "similarity_to()"

Open bathtube opened this issue 3 years ago • 1 comments

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 :

  • OS: Win 10 Pro
  • Environment : Anaconda 3 (Python 3.8.8)

bathtube avatar Dec 17 '21 06:12 bathtube

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, ...]

fu avatar Jan 21 '22 13:01 fu