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

generate reprofiled in Spectrum.__add__ if not present. #304

Closed JB-Wolf closed 1 year ago

JB-Wolf commented 1 year ago

Fixes spectra addition when the spectrum that is being added to has no "reprofiled" key in self._peak_dict

I was trying to add spectra together and it did not work - so I introduced suggested changes

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

MKoesters commented 1 year ago

Hi, Thanks for the contribution. We currently have a problem with the CI not running, but I was able to verify it locally. I'll merge this soon and issue a new release.

Best, Manuel