[Debian-pan-maintainers] Bug#1086853: python-mrcz: Python SyntaxWarning
Graham Inggs
ginggs at debian.org
Wed Nov 6 16:28:52 GMT 2024
Source: python-mrcz
Version: 0.5.6-2
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/p/python-mrcz.html
Setting up python3-mrcz (0.5.6-2) ...
/usr/lib/python3/dist-packages/mrcz/ReliablePy.py:362:
SyntaxWarning: invalid escape sequence '\A'
plt.xlabel( "Resolution ($\AA^{-1}$)" )
/usr/lib/python3/dist-packages/mrcz/ReliablePy.py:385:
SyntaxWarning: invalid escape sequence '\A'
plt.xlabel( "Resolution ($\AA^{-1}$)" )
/usr/lib/python3/dist-packages/mrcz/ReliablePy.py:537:
SyntaxWarning: invalid escape sequence '\A'
plt.xlabel( "Defocus ($\AA$)" )
/usr/lib/python3/dist-packages/mrcz/ReliablePy.py:830:
SyntaxWarning: invalid escape sequence '\A'
plt.xlabel( "Defocus, $C_1 (\AA)$" )
/usr/lib/python3/dist-packages/mrcz/ReliablePy.py:836:
SyntaxWarning: invalid escape sequence '\A'
plt.xlabel( "Astigmatism, $A_1 (\AA)$" )
/usr/lib/python3/dist-packages/mrcz/ReliablePy.py:848:
SyntaxWarning: invalid escape sequence '\A'
plt.xlabel( "Fitted Resolution, $r (\AA)$" )
/usr/lib/python3/dist-packages/mrcz/ioMRC.py:219: SyntaxWarning:
invalid escape sequence '\m'
'''
/usr/lib/python3/dist-packages/mrcz/ioMRC.py:555: SyntaxWarning:
invalid escape sequence '\A'
if header['pixelunits'] == u'\\AA' or header['pixelunits'] == u'\AA':
/usr/lib/python3/dist-packages/mrcz/ioMRC.py:557: SyntaxWarning:
invalid escape sequence '\m'
elif header['pixelunits'] == u'\mum':
/usr/lib/python3/dist-packages/mrcz/ioMRC.py:605: SyntaxWarning:
invalid escape sequence '\m'
'''
/usr/lib/python3/dist-packages/mrcz/ioMRC.py:1050: SyntaxWarning:
invalid escape sequence '\A'
if header['pixelunits'] == '\\AA' or header['pixelunits'] == '\AA':
/usr/lib/python3/dist-packages/mrcz/ioMRC.py:1052: SyntaxWarning:
invalid escape sequence '\m'
elif header['pixelunits'] == '\mum':
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:66: SyntaxWarning:
invalid escape sequence '\A'
pixelsize=pixelsize, pixelunits=u'\AA',
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:70: SyntaxWarning:
invalid escape sequence '\A'
rereadMage, rereadHeader = mrcz.readMRC(mrcName, pixelunits=u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:77: SyntaxWarning:
invalid escape sequence '\A'
assert(rereadHeader['pixelunits'] == u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:149: SyntaxWarning:
invalid escape sequence '\A'
pixelsize=pixelsize, pixelunits=u'\AA',
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:153: SyntaxWarning:
invalid escape sequence '\A'
rereadMage, rereadHeader = mrcz.readMRC(mrcName, pixelunits=u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:166: SyntaxWarning:
invalid escape sequence '\A'
assert(rereadHeader['pixelunits'] == u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:178: SyntaxWarning:
invalid escape sequence '\A'
pixelsize=pixelsize, pixelunits=u'\AA',
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:184: SyntaxWarning:
invalid escape sequence '\A'
worker = mrcz.asyncReadMRC(mrcName, pixelunits=u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:198: SyntaxWarning:
invalid escape sequence '\A'
assert(rereadHeader['pixelunits'] == u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:211: SyntaxWarning:
invalid escape sequence '\A'
rereadMage, _ = mrcz.readMRC(mrcName, pixelunits=u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:232: SyntaxWarning:
invalid escape sequence '\A'
rereadMage, _ = mrcz.readMRC(mrcName, pixelunits=u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:251: SyntaxWarning:
invalid escape sequence '\A'
rereadMage, _ = mrcz.readMRC(mrcName, pixelunits=u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:271: SyntaxWarning:
invalid escape sequence '\A'
rereadMage, _ = mrcz.readMRC(mrcName, pixelunits=u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:293: SyntaxWarning:
invalid escape sequence '\A'
rereadMage, _ = mrcz.readMRC(mrcName, pixelunits=u'\AA', slices=slices)
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:311: SyntaxWarning:
invalid escape sequence '\A'
rereadMage, _ = mrcz.readMRC(mrcName, pixelunits=u'\AA', slices=slices)
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:447: SyntaxWarning:
invalid escape sequence '\A'
rereadMage, _ = mrcz.readMRC(mrcName, pixelunits=u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:487: SyntaxWarning:
invalid escape sequence '\A'
pixelsize=pixelsize, pixelunits=u'\AA',
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:494: SyntaxWarning:
invalid escape sequence '\A'
rereadMage, rereadHeader = mrcz.readMRC(mrcOutput, pixelunits=u'\AA')
/usr/lib/python3/dist-packages/mrcz/test_mrcz.py:505: SyntaxWarning:
invalid escape sequence '\A'
npt.assert_array_equal(rereadHeader['pixelunits'], u'\AA')
More information about the Debian-pan-maintainers
mailing list