[Debichem-devel] Bug#1085652: isospec: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Mon Oct 21 12:38:53 BST 2024


Source: isospec
Version: 2.2.1-4.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/i/isospec.html


  Setting up python3-isospec (2.2.1-4.1+b1) ...
  /usr/lib/python3/dist-packages/IsoSpecPy/IsoSpecPyOld.py:98:
SyntaxWarning: invalid escape sequence '\D'
    symbols = re.findall("\D+", formula)
  /usr/lib/python3/dist-packages/IsoSpecPy/IsoSpecPyOld.py:99:
SyntaxWarning: invalid escape sequence '\d'
    atom_counts = [int(x) for x in re.findall("\d+", formula)]
  /usr/lib/python3/dist-packages/IsoSpecPy/approximations.py:38:
SyntaxWarning: invalid escape sequence '\s'
    """Get the natural logarithm of the volume of a simplex
{(x_1,..,x_{i-1}): \sum_{j=1}^i = n}.
  /usr/lib/python3/dist-packages/IsoSpecPy/approximations.py:53:
SyntaxWarning: invalid escape sequence '\s'
    """Get the volume of a simplex {(x_1,..,x_{i-1}): \sum_{j=1}^i = n}.



More information about the Debichem-devel mailing list