[Debian-med-packaging] Bug#1085733: nanosv: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Tue Oct 22 12:14:06 BST 2024


Source: nanosv
Version: 1.2.4+git20190409.c1ae30c-6
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/n/nanosv.html


  Setting up nanosv (1.2.4+git20190409.c1ae30c-6) ...
  /usr/lib/python3/dist-packages/nanosv/utils/parse_bam.py:43:
SyntaxWarning: invalid escape sequence '\.'
    sample_name = re.sub('(\.sorted)?\.bam$', '', str(NanoSV.opts_bam))
  /usr/lib/python3/dist-packages/nanosv/utils/parse_bam.py:206:
SyntaxWarning: invalid escape sequence '\d'
    pattern_list[i] += '[' + str(int(NanoSV.opts_min_indel_size[i]) +
1) + '-9]\d{' + str(j) + ',}'
  /usr/lib/python3/dist-packages/nanosv/utils/parse_bam.py:210:
SyntaxWarning: invalid escape sequence '\d'
    pattern_list.append("\d{" + str(len(NanoSV.opts_min_indel_size) + 1) + ",}")
  /usr/lib/python3/dist-packages/nanosv/utils/parse_bam.py:392:
SyntaxWarning: invalid escape sequence '\^'
    md_tag = re.split("\^\D+", md)
  /usr/lib/python3/dist-packages/nanosv/utils/parse_bam.py:416:
SyntaxWarning: invalid escape sequence '\D'
    if re.search("\D+", md_tag[md_cursor]):
  /usr/lib/python3/dist-packages/nanosv/utils/parse_bam.py:418:
SyntaxWarning: invalid escape sequence '\D'
    for m in re.split("\D", md_tag[md_cursor]):



More information about the Debian-med-packaging mailing list