[Debian-med-packaging] Bug#1085366: bmtk: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Fri Oct 18 17:35:21 BST 2024


Source: bmtk
Version: 1.1.1+ds-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/b/bmtk.html


  Setting up python3-bmtk (1.1.1+ds-2) ...
  /usr/lib/python3/dist-packages/bmtk/simulator/bionet/modules/comsol.py:177:
SyntaxWarning: invalid escape sequence '\s'
    headers = pd.read_csv(comsol_file, sep="\s{3,}", header=None,
skiprows=8, nrows=1, engine='python')
  /usr/lib/python3/dist-packages/bmtk/simulator/bionet/modules/comsol.py:179:
SyntaxWarning: invalid escape sequence '\s'
    data = pd.read_csv(comsol_file, sep="\s+", header=None, skiprows=9)
  /usr/lib/python3/dist-packages/bmtk/simulator/filternet/lgnmodel/util_fns.py:51:
SyntaxWarning: invalid escape sequence '\D'
    gr_fnames_ord = sorted(gr_fnames, key=lambda x: (int(re.sub('\D',
'', x)), x))
  /usr/lib/python3/dist-packages/bmtk/utils/io/cell_vars.py:19:
SyntaxWarning: invalid escape sequence '\*'
    """A small struct to keep track of different \*/data (and buffer) tables"""
  /usr/lib/python3/dist-packages/bmtk/utils/sonata/config/sonata_config.py:400:
SyntaxWarning: invalid escape sequence '\$'
    variables = [m for m in re.finditer('\$\{?[\w]+\}?', json_str)]



More information about the Debian-med-packaging mailing list