[Debian-pan-maintainers] Bug#1085817: pynx: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Tue Oct 22 18:54:34 BST 2024


Source: pynx
Version: 2024.1.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/p/pynx.html


  Setting up python3-pynx (2024.1.1-1) ...
  /usr/lib/python3/dist-packages/pynx/scattering/test/test_scattering.py:231:
SyntaxWarning: invalid escape sequence '\ '
    xlabel("$H\ (r.l.u.)$", fontsize=18)
  /usr/lib/python3/dist-packages/pynx/utils/phase_retrieval_transfer_function.py:151:
SyntaxWarning: invalid escape sequence '\m'
    unit_name = "$\mu m$"
  /usr/lib/python3/dist-packages/pynx/utils/plot_utils.py:199:
SyntaxWarning: invalid escape sequence '\p'
    ax.text(-.1, 0.5, '$\pi$', fontsize=fs,
horizontalalignment='center', verticalalignment='center',
  /usr/lib/python3/dist-packages/pynx/wavefront/cl_operator.py:393:
SyntaxWarning: invalid escape sequence '\p'
    """
  /usr/lib/python3/dist-packages/pynx/wavefront/cpu_operator.py:442:
SyntaxWarning: invalid escape sequence '\p'
    """
  /usr/lib/python3/dist-packages/pynx/wavefront/cu_operator.py:380:
SyntaxWarning: invalid escape sequence '\p'
    """
  /usr/lib/python3/dist-packages/pynx/wavefront/fresnel.py:55:
SyntaxWarning: invalid escape sequence '\p'
    text(-.1, 0.5, '$\pi$', fontsize=16, horizontalalignment='center',
verticalalignment='center',
  /usr/lib/python3/dist-packages/pynx/wavefront/fresnel.py:436:
SyntaxWarning: invalid escape sequence '\ '
    title("$Field\ @FZP$")
  /usr/lib/python3/dist-packages/pynx/wavefront/fresnel.py:452:
SyntaxWarning: invalid escape sequence '\ '
    title("$Field\ @OSA$")
  /usr/lib/python3/dist-packages/pynx/wavefront/fresnel.py:467:
SyntaxWarning: invalid escape sequence '\ '
    title("$Field\ @focus\ point$")
  /usr/lib/python3/dist-packages/pynx/wavefront/fresnel.py:478:
SyntaxWarning: invalid escape sequence '\ '
    title("$Field\ @focus\ point$")



More information about the Debian-pan-maintainers mailing list