[Debian-med-packaging] Bug#1085326: arden: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Fri Oct 18 13:57:45 BST 2024


Source: arden
Version: 1.0-5
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/a/arden.html


  Setting up python3 (3.12.6-1) ...
  /usr/share/arden/core/AnalyseMapping.py:169: SyntaxWarning: invalid
escape sequence '\d'
    mism = sum([i.size for i in cigar if i.type=="M"]) -
getsum(re.findall("(\d+)", alngt.optional_field("MD")))
  /usr/share/arden/core/AnalyseMapping.py:252: SyntaxWarning: invalid
escape sequence '\d'
    deletions = getsum(re.findall("(\d+)D", cigar))
  /usr/share/arden/core/AnalyseMapping.py:253: SyntaxWarning: invalid
escape sequence '\d'
    insertions = getsum(re.findall("(\d+)I", cigar))
  /usr/share/arden/core/AnalyseMapping.py:260: SyntaxWarning: invalid
escape sequence '\d'
    mismatch = getsum(re.findall("(\d+)M", cigar)) -
getsum(re.findall("(\d+)", mdtag))
  /usr/share/arden/core/AnalyseMapping.py:260: SyntaxWarning: invalid
escape sequence '\d'
    mismatch = getsum(re.findall("(\d+)M", cigar)) -
getsum(re.findall("(\d+)", mdtag))
  /usr/share/arden/core/AnalyseMapping.py:651: SyntaxWarning: invalid
escape sequence '\d'
    m = re.search(tag + ":i:(\d+)", line)
  /usr/share/arden/core/AnalyseMapping.py:717: SyntaxWarning: invalid
escape sequence '\d'
    match = re.findall("(\d+)[MDN]", cigar)
  /usr/share/arden/core/AnalyseMapping.py:917: SyntaxWarning: invalid
escape sequence '\s'
    mdtag = re.search("MD:Z:([^\s]+)", tags).group(1)
  /usr/share/arden/core/AnalyseMapping.py:919: SyntaxWarning: invalid
escape sequence '\s'
    mdtag = re.search("MD:Z:([^\s]+)", tags).group(1)



More information about the Debian-med-packaging mailing list