Source: python-xrt
Version: 1.6.0+ds1-1
User: debian-pyt...@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-xrt.html


  Setting up python3-xrt (1.6.0+ds1-1) ...
  /usr/lib/python3/dist-packages/xrt/backends/raycing/coherence.py:39:
SyntaxWarning: invalid escape sequence '\ '
    """
  /usr/lib/python3/dist-packages/xrt/backends/raycing/coherence.py:203:
SyntaxWarning: invalid escape sequence '\ '
    """
  /usr/lib/python3/dist-packages/xrt/backends/raycing/coherence.py:235:
SyntaxWarning: invalid escape sequence '\ '
    """
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/MAX-IV-IDs-Flux.py:101:
SyntaxWarning: invalid escape sequence '\R'
    with open('c:\Ray-tracing\srw\SRWres.pickle', 'rb') as f:
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/my_arbitrary_field_test.py:539:
SyntaxWarning: invalid escape sequence '\D'
    plt.ylabel(u"$\Delta\beta_x$, µm")
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/my_arbitrary_field_test.py:546:
SyntaxWarning: invalid escape sequence '\D'
    plt.ylabel(u"$\Delta\beta_y$, µ$m")
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/my_arbitrary_field_test.py:554:
SyntaxWarning: invalid escape sequence '\D'
    plt.ylabel(u"$\Delta$x, µm")
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/my_arbitrary_field_test.py:562:
SyntaxWarning: invalid escape sequence '\D'
    plt.ylabel(u"$\Delta$y, µm")
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/synchrotronSources.py:521:
SyntaxWarning: invalid escape sequence '\m'
    yaxis = xrtp.XYCAxis(r'$x$', '$\mu$m', limits='symmetric')
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/synchrotronSources.py:532:
SyntaxWarning: invalid escape sequence '\m'
    yaxis = xrtp.XYCAxis(r'$z$', '$\mu$m', limits='symmetric')
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/synchrotronSources.py:542:
SyntaxWarning: invalid escape sequence '\m'
    xaxis = xrtp.XYCAxis(r'$x$', '$\mu$m', limits=limitsFSM0X,
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/synchrotronSources.py:544:
SyntaxWarning: invalid escape sequence '\m'
    yaxis = xrtp.XYCAxis(r'$z$', '$\mu$m', limits=limitsFSM0Z,
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/synchrotronSources.py:557:
SyntaxWarning: invalid escape sequence '\m'
    xaxis = xrtp.XYCAxis(r'$x$', '$\mu$m', limits=limitsFSM0X)
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/01_SynchrotronSources/synchrotronSources.py:568:
SyntaxWarning: invalid escape sequence '\m'
    xaxis = xrtp.XYCAxis(r'$x$', '$\mu$m', limits=[-80, 80])
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/02_Balder_BL/BalderBL.py:68:
SyntaxWarning: invalid escape sequence '\m'
    surface='diamond 60 $\mu$m', material=filterDiamond, t=0.06,
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/06_AnalyzerBent1D/02_vonHamos.py:343:
SyntaxWarning: invalid escape sequence '\d'
    '\delta E = ${3:.3f} eV').format(
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/06_AnalyzerBent1D/02_vonHamosElliptical.py:505:
SyntaxWarning: invalid escape sequence '\d'
    '\delta E = ${3:.3f} eV').format(
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/07_AnalyzerBent2D/01BD_SourceZCrystalThetaAlpha.py:576:
SyntaxWarning: invalid escape sequence '\d'
    '\delta E = ${3:.3f} eV').format(
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/08_CLAESS_BL/ClaessBL_N.py:74:
SyntaxWarning: invalid escape sequence '\m'
    surface=('diamond 90 $\mu$m',), material=(filterDiamond,), t=0.09,
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/10_MultipleReflect/Cylinder.py:113:
SyntaxWarning: invalid escape sequence '\m'
    'beamFSM1', (1,), xaxis=xrtp.XYCAxis(r'$x$', '$\mu$m'),
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/10_MultipleReflect/Cylinder.py:114:
SyntaxWarning: invalid escape sequence '\m'
    yaxis=xrtp.XYCAxis(r'$z$', '$\mu$m'), title='FSM1_E')
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/11_Waves/doubleSlitScan.py:99:
SyntaxWarning: invalid escape sequence '\m'
    dunit = '$\mu$rad'
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/11_Waves/doubleSlitScan.py:209:
SyntaxWarning: invalid escape sequence '\D'
    tt = u'$\Delta$ slit = {0:.0f} µm'.format((slitZ-slitwidth)*1e3)
  /usr/lib/python3/dist-packages/xrt/examples/withRaycing/11_Waves/waveFZP.py:2:
SyntaxWarning: invalid escape sequence '\p'
    """
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/12_Multilayer/BalderDMM.py:66:
SyntaxWarning: invalid escape sequence '\m'
    surface='diamond 60 $\mu$m', material=filterDiamond, t=0.06,
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/13_Warping/warp.py:396:
SyntaxWarning: invalid escape sequence '\i'
    Rstr = '{0:.1f} km'.format(R*1e-6) if R < 1e19 else '$\infty$'
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/16_ParametricOptimization/16.1_autoOptimization_detuning.py:160:
SyntaxWarning: invalid escape sequence '\T'
    axes.set_xlabel("$d\Theta$, $\mu$rad"); axes.set_ylabel("$\Delta$E, eV")
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/16_ParametricOptimization/16.1_autoOptimization_detuning.py:160:
SyntaxWarning: invalid escape sequence '\D'
    axes.set_xlabel("$d\Theta$, $\mu$rad"); axes.set_ylabel("$\Delta$E, eV")
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/16_ParametricOptimization/16.1_autoOptimization_detuning.py:169:
SyntaxWarning: invalid escape sequence '\T'
    axes.set_xlabel("$d\Theta$, $\mu$rad"); axes.set_ylabel("Flux, photons/s")
  
/usr/lib/python3/dist-packages/xrt/examples/withRaycing/16_ParametricOptimization/16.1_autoOptimization_detuning.py:177:
SyntaxWarning: invalid escape sequence '\D'
    axes.set_xlabel("Iteration Nr."); axes.set_ylabel("$\Delta$E, eV")
  /usr/lib/python3/dist-packages/xrt/examples/withShadow/00_02/01_filters.py:52:
SyntaxWarning: invalid escape sequence '\m'
    textPanel.set_text('filter\nthickness\n%s $\mu$m' % thick)
  /usr/lib/python3/dist-packages/xrt/gui/xrtQook/__init__.py:1043:
SyntaxWarning: invalid escape sequence '\*'
    headerDocRip = re.findall('.+?(?= {4}\*)',
  /usr/lib/python3/dist-packages/xrt/gui/xrtQook/__init__.py:1441:
SyntaxWarning: invalid escape sequence '\.'
    kwa = re.findall("(?<=kwargs\.pop).*?\)",
  /usr/lib/python3/dist-packages/xrt/gui/xrtQook/__init__.py:1727:
SyntaxWarning: invalid escape sequence '\*'
    fdocRec = re.findall("\*.*?\n\n(?= *\*|\n)", fdoc, re.S | re.U)
  /usr/lib/python3/dist-packages/xrt/gui/xrtQook/__init__.py:1730:
SyntaxWarning: invalid escape sequence '\*'
    "\*\:",
  /usr/lib/python3/dist-packages/xrt/gui/xrtQook/__init__.py:1734:
SyntaxWarning: invalid escape sequence '\*'
    descName = desc[0].strip("\*")
  /usr/lib/python3/dist-packages/xrt/gui/xrtQook/__init__.py:1735:
SyntaxWarning: invalid escape sequence '\*'
    descBody = desc[1].strip("\* ")
  /usr/lib/python3/dist-packages/xrt/gui/xrtQook/__init__.py:1752:
SyntaxWarning: invalid escape sequence '\,'
    len(re.findall("{0}(?=[\,\s\*])".format(arg),
  /usr/lib/python3/dist-packages/xrt/gui/xrtQook/__init__.py:2318:
SyntaxWarning: invalid escape sequence '\d'
    return '^(\d+)$'
  /usr/lib/python3/dist-packages/xrt/plotter.py:403: SyntaxWarning:
invalid escape sequence '\m'
    elif self.unit in [u'$\mu$rad', u'µrad', u'urad']:
  /usr/lib/python3/dist-packages/xrt/plotter.py:411: SyntaxWarning:
invalid escape sequence '\m'
    elif self.unit in [u'$\mu$m', u'µm', 'um']:
  /usr/lib/python3/dist-packages/xrt/plotter.py:420: SyntaxWarning:
invalid escape sequence '\m'
    elif self.unit in [u'$\mu$m', u'µm', 'um']:

Reply via email to