[Debian-pan-maintainers] Bug#1085604: genx: Python SyntaxWarning
Graham Inggs
ginggs at debian.org
Mon Oct 21 09:46:24 BST 2024
Source: genx
Version: 3.6.23-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/g/genx.html
Setting up python3-genx (3.6.23-2) ...
/usr/lib/python3/dist-packages/genx/models/interdiff.py:1:
SyntaxWarning: invalid escape sequence '\ '
'''
/usr/lib/python3/dist-packages/genx/models/interdiff.py:323:
SyntaxWarning: invalid escape sequence '\A'
'SLD unit': 'r_{e}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/lib/xmcd_moment.py:198:
SyntaxWarning: invalid escape sequence '\s'
""" The complex Voigt function (a convolution of a Lorentzian and
a Gaussian function).
/usr/lib/python3/dist-packages/genx/models/lib/xmcd_moment.py:451:
SyntaxWarning: invalid escape sequence '\m'
""" Class to model the lineshape of a 2p level including dichroism.
/usr/lib/python3/dist-packages/genx/models/lib/xmcd_moment.py:935:
SyntaxWarning: invalid escape sequence '\d'
''' A fit model to simulate one xmcd spectral moment of a p_3/2,
p_1/2 absorption edge.
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:1:
SyntaxWarning: invalid escape sequence '\ '
'''
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:550:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'r_e/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:574:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'r_{e}/\AA^{3},\,\mu_{B}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:578:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'fm/\AA^{3}, b/\AA^{3},\,\mu_{B}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:583:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'fm/\AA^{3}, b/\AA^{3},\,\mu_{B}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:587:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'fm/\AA^{3}, b/\AA^{3},\,\mu_{B}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:591:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'r_{e}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:713:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'r_e/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:719:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'r_{e}/\AA^{3},\,\mu_{B}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:723:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'fm/\AA^{3}, \mu_{B}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:727:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'fm/\AA^{3}, \mu_{B}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:731:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'fm/\AA^{3}, \mu_{B}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/mag_refl.py:735:
SyntaxWarning: invalid escape sequence '\A'
'z': z, 'SLD unit': 'r_{e}/\AA^{3},\,\mu_{B}/\AA^{3}'}
/usr/lib/python3/dist-packages/genx/models/soft_nx.py:1:
SyntaxWarning: invalid escape sequence '\ '
'''
/usr/lib/python3/dist-packages/genx/models/soft_nx.py:465:
SyntaxWarning: invalid escape sequence '\A'
sld_unit='10^{-6}\AA^{2}'
/usr/lib/python3/dist-packages/genx/models/soft_nx.py:471:
SyntaxWarning: invalid escape sequence '\A'
sld_unit='10^{-6}/\AA^{2}'
/usr/lib/python3/dist-packages/genx/models/soft_nx.py:481:
SyntaxWarning: invalid escape sequence '\A'
sld_unit='10^{-6}/\AA^{2}'
/usr/lib/python3/dist-packages/genx/models/spec_adaptive.py:2:
SyntaxWarning: invalid escape sequence '\ '
'''
/usr/lib/python3/dist-packages/genx/models/spec_inhom.py:2:
SyntaxWarning: invalid escape sequence '\ '
'''
/usr/lib/python3/dist-packages/genx/models/utils.py:1:
SyntaxWarning: invalid escape sequence '\ '
'''Utilities for GenX and scattering
/usr/lib/python3/dist-packages/genx/plugins/add_ons/MagSLD.py:102:
SyntaxWarning: invalid escape sequence '\A'
if unit in ["fm/\AA^{3}", "\\AA^{-2}", "", "10^{-6}\\AA^{-2}"] and
self.mb_second_axis.IsChecked():
/usr/lib/python3/dist-packages/genx/plugins/add_ons/MagSLD.py:116:
SyntaxWarning: invalid escape sequence '\A'
if msld is not None and unit in ["fm/\AA^{3}", "\\AA^{-2}", "",
/usr/lib/python3/dist-packages/genx/plugins/add_ons/help_modules/reflectivity_sample_plot.py:148:
SyntaxWarning: invalid escape sequence '\m'
self.ax.yaxis.label.set_text('$\mathrm{\mathsf{SLD\,[%s]}}$'%sld_unit)
/usr/lib/python3/dist-packages/genx/plugins/add_ons/help_modules/reflectivity_sample_plot.py:149:
SyntaxWarning: invalid escape sequence '\m'
self.ax.xaxis.label.set_text('$\mathrm{\mathsf{ z\,[\AA]}}$')
/usr/lib/python3/dist-packages/genx/plugins/add_ons/help_modules/reflectivity_sample_plot.py:339:
SyntaxWarning: invalid escape sequence '\m'
self.ax.yaxis.label.set_text('$\mathrm{\mathsf{SLD\,[%s]}}$'%sld_unit)
/usr/lib/python3/dist-packages/genx/plugins/add_ons/help_modules/reflectivity_sample_plot.py:340:
SyntaxWarning: invalid escape sequence '\m'
self.ax.xaxis.label.set_text('$\mathrm{\mathsf{ z\,[\AA]}}$')
/usr/lib/python3/dist-packages/genx/plugins/add_ons/help_modules/reflectivity_utils.py:605:
SyntaxWarning: invalid escape sequence '\w'
re_layer = re.compile('([A-Za-z]\w*)\s*=\s*model\.Layer\s*\((.*)\)\n')
/usr/lib/python3/dist-packages/genx/plugins/add_ons/help_modules/reflectivity_utils.py:606:
SyntaxWarning: invalid escape sequence '\w'
re_stack = re.compile('([A-Za-z]\w*)\s*=\s*model\.Stack\s*\(\s*Layers=\[(.*)\].*\n')
/usr/lib/python3/dist-packages/genx/plugins/add_ons/help_modules/reflectivity_utils.py:660:
SyntaxWarning: invalid escape sequence '\w'
re_layer = re.compile('([A-Za-z]\w*)\s*=\s*model\.Instrument\s*\((.*)\)\n')
More information about the Debian-pan-maintainers
mailing list