[Debian-med-packaging] Bug#1085608: ghmm: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Mon Oct 21 09:53:43 BST 2024


Source: ghmm
Version: 0.9~rc3-9
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/g/ghmm.html


  Setting up ghmm (0.9~rc3-9) ...
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:290: SyntaxWarning:
invalid escape sequence '\p'
    """ Check whether \p emission is admissable (contained in) the domain
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:1510: SyntaxWarning:
invalid escape sequence '\s'
    stat = re.compile("^ACC\s+(\w+)")
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:1536: SyntaxWarning:
invalid escape sequence '\s'
    hmmRe = re.compile("^HMM\s*=")
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:1537: SyntaxWarning:
invalid escape sequence '\s'
    shmmRe = re.compile("^SHMM\s*=")
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:1538: SyntaxWarning:
invalid escape sequence '\s'
    mvalueRe = re.compile("M\s*=\s*([0-9]+)")
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:1539: SyntaxWarning:
invalid escape sequence '\s'
    densityvalueRe = re.compile("density\s*=\s*([0-9]+)")
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:1540: SyntaxWarning:
invalid escape sequence '\s'
    cosvalueRe = re.compile("cos\s*=\s*([0-9]+)")
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:2096: SyntaxWarning:
invalid escape sequence '\s'
    """ Compute log( P[emissionSequences| model]) using the forward algorithm
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:2374: SyntaxWarning:
invalid escape sequence '\p'
    """ Compute the Viterbi-path for each sequence in emissionSequences
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:2473: SyntaxWarning:
invalid escape sequence '\p'
    """ Accessor function for the initial probability \f$\pi_i\f$ """
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:2478: SyntaxWarning:
invalid escape sequence '\p'
    """ Accessor function for the initial probability \f$\pi_i\f$.
  /usr/lib/python3/dist-packages/ghmm/ghmm.py:3323: SyntaxWarning:
invalid escape sequence '\p'
    """ Compute a vector ( log( P[s,l| model]) )_{s} of log-likelihoods of the
  /usr/lib/python3/dist-packages/ghmm/modhmmer.py:185: SyntaxWarning:
invalid escape sequence '\s'
    self.acc = gotoLine(f,re.compile("^NAME\s+([\w+\s*]+)" )
).group(1)  # NAME as unique model identifier
  /usr/lib/python3/dist-packages/ghmm/modhmmer.py:192: SyntaxWarning:
invalid escape sequence '\s'
    n = int(gotoLine(f,re.compile("^LENG\s*(\d+)")).group(1))
  /usr/lib/python3/dist-packages/ghmm/modhmmer.py:195: SyntaxWarning:
invalid escape sequence '\s'
    m = self.dicType[gotoLine(f,re.compile("^ALPH\s*(\S+)")).group(1)];
  /usr/lib/python3/dist-packages/ghmm/modhmmer.py:205: SyntaxWarning:
invalid escape sequence '\s'
    trans = string.split(gotoLine(f,re.compile("^XT([\s\d\S]*)")).group(1))
  /usr/lib/python3/dist-packages/ghmm/modhmmer.py:209: SyntaxWarning:
invalid escape sequence '\s'
    trans = string.split(gotoLine(f,re.compile("^NULT([\s\d\S]*)")).group(1))
  /usr/lib/python3/dist-packages/ghmm/modhmmer.py:211: SyntaxWarning:
invalid escape sequence '\s'
    trans = string.split(gotoLine(f,re.compile("^NULE([\s\d\S]*)")).group(1))



More information about the Debian-med-packaging mailing list