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":
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