pymzml / pymzML

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

Not serious, some warnings #242

Closed lopippo closed 4 years ago

lopippo commented 4 years ago

Greetings,

just to let you know, I am having these warnings when building the Debian package:

/usr/lib/python3/dist-packages/pymzml/spec.py:1041: SyntaxWarning: "is" with a literal. Did you mean "=="? if peak_type is "raw": /usr/lib/python3/dist-packages/pymzml/spec.py:1043: SyntaxWarning: "is" with a literal. Did you mean "=="? elif peak_type is "centroided": /usr/lib/python3/dist-packages/pymzml/spec.py:1045: SyntaxWarning: "is" with a literal. Did you mean "=="? elif peak_type is "reprofiled": /usr/lib/python3/dist-packages/pymzml/spec.py:1047: SyntaxWarning: "is" with a literal. Did you mean "=="? elif peak_type is "deconvoluted": /usr/lib/python3/dist-packages/pymzml/spec.py:1056: SyntaxWarning: "is" with a literal. Did you mean "=="? if peak_type is "reprofiled":

Sincerely, Filippo