[Debian-med-packaging] Bug#1087097: srst2: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Fri Nov 8 17:24:05 GMT 2024


Source: srst2
Version: 0.2.0-12
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/s/srst2.html


  Setting up python3 (3.12.6-1) ...
  /usr/share/srst2/database_clustering/VFDB_cdhit_to_csv.py:53:
SyntaxWarning: invalid escape sequence '\('
    in_brackets = re.findall('\((.*?)\)', full_name)
  /usr/share/srst2/database_clustering/align_plot_tree_min3.py:28:
SyntaxWarning: invalid escape sequence '\.'
    r('''
  /usr/share/srst2/getmlst.py:181: SyntaxWarning: invalid escape sequence '\d'
    m = re.match('>(.*)([_-])(\d*)',head).groups()
  /usr/share/srst2/srst2.py:90: SyntaxWarning: invalid escape sequence '\-'
    parser.add_argument('--other', type=str, help='Other arguments to
pass to bowtie2 (must be escaped, e.g. "\--no-mixed".',
required=False)
  /usr/share/srst2/srst2.py:99: SyntaxWarning: invalid escape sequence '\-'
    parser.add_argument('--samtools_args', type=str, help='Other
arguments to pass to samtools mpileup (must be escaped, e.g. "\-A").',
required=False)
  /usr/share/srst2/srst2.py:241: SyntaxWarning: invalid escape sequence '\d'
    m = re.search("NM:i:(\d+)\s",line)



More information about the Debian-med-packaging mailing list