Bug#1085323: amp: Python SyntaxWarning
Graham Inggs
ginggs at debian.org
Fri Oct 18 13:49:42 BST 2024
Source: amp
Version: 0.6.1-1
User: debian-python at lists.debian.org
Usertags: syntaxwarning
Hi Maintainer
The SyntaxWarning below were emitted when this package was tested with
pipuarts[1].
Regards
Graham
[1] https://piuparts.debian.org/sid/source/a/amp.html
Setting up python3-amp (0.6.1-1+b9) ...
/usr/lib/python3/dist-packages/amp/descriptor/bispectrum.py:398:
SyntaxWarning: "is" with 'str' literal. Did you mean "=="?
if cutofffn is 'Cosine':
/usr/lib/python3/dist-packages/amp/descriptor/bispectrum.py:400:
SyntaxWarning: "is" with 'str' literal. Did you mean "=="?
elif cutofffn is 'Polynomial':
/usr/lib/python3/dist-packages/amp/descriptor/zernike.py:19:
SyntaxWarning: invalid escape sequence '\e'
"""Class that calculates Zernike fingerprints.
/usr/lib/python3/dist-packages/amp/descriptor/zernike.py:569:
SyntaxWarning: "is" with 'str' literal. Did you mean "=="?
if cutoff['name'] is 'Cosine':
/usr/lib/python3/dist-packages/amp/descriptor/zernike.py:571:
SyntaxWarning: "is" with 'str' literal. Did you mean "=="?
elif cutoff['name'] is 'Polynomial':
More information about the debian-science-maintainers
mailing list