[Debichem-devel] Bug#1085752: openmm: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Tue Oct 22 12:50:23 BST 2024


Source: openmm
Version: 8.1.2+dfsg-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/o/openmm.html


  Setting up python3-openmm (8.1.2+dfsg-1) ...
  /usr/lib/python3/dist-packages/openmm/__init__.py:16: SyntaxWarning:
invalid escape sequence '\p'
    os.environ['PATH'] = '%(lib)s;%(lib)s\plugins;%(path)s' % {
  /usr/lib/python3/dist-packages/openmm/app/gromacsgrofile.py:62:
SyntaxWarning: invalid escape sequence '\.'
    return match('^[-+]?[0-9]*\.?[0-9]*([eEdD][-+]?[0-9]+)?$',word)
  /usr/lib/python3/dist-packages/openmm/app/internal/amber_file_parser.py:65:
SyntaxWarning: invalid escape sequence '\('
    FORMAT_RE_PATTERN=re.compile("([0-9]+)\(?([a-zA-Z]+)([0-9]+)\.?([0-9]*)\)?")
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbstructure.py:1071:
SyntaxWarning: invalid escape sequence '\.'
    if not re.match("pdb.%2s.\.ent\.gz" % subdir , pdb_file):
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbstructure.py:1082:
SyntaxWarning: invalid escape sequence '\.'
    if not re.match("pdb.%2s.\.ent\.gz" % subdir , pdb_file):
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxParser.py:358:
SyntaxWarning: invalid escape sequence '\S'
    "(?:_(.+?)[.](\S+))"               "|"  # _category.attribute
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxParser.py:360:
SyntaxWarning: invalid escape sequence '\s'
    "(?:['](.*?)(?:[']\s|[']$))"       "|"  # single quoted strings
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxParser.py:361:
SyntaxWarning: invalid escape sequence '\s'
    "(?:[\"](.*?)(?:[\"]\s|[\"]$))"    "|"  # double quoted strings
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxParser.py:363:
SyntaxWarning: invalid escape sequence '\s'
    "(?:\s*#.*$)"                      "|"  # comments (dumped)
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxParser.py:365:
SyntaxWarning: invalid escape sequence '\S'
    "(\S+)"                                 # unquoted words
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxParser.py:416:
SyntaxWarning: invalid escape sequence '\S'
    """ Tokenizer method for the mmCIF syntax file -
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxParser.py:444:
SyntaxWarning: invalid escape sequence '\S'
    "(?:_(.+?)[.](\S+))"               "|"  # _category.attribute
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxParser.py:446:
SyntaxWarning: invalid escape sequence '\s'
    "(?:['\"](.*?)(?:['\"]\s|['\"]$))"   "|"    # quoted strings
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxParser.py:448:
SyntaxWarning: invalid escape sequence '\s'
    "(?:\s*#.*$)"                      "|"  # comments (dumped)
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxParser.py:450:
SyntaxWarning: invalid escape sequence '\S'
    "(\S+)"                                 # unquoted words
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxReader.py:347:
SyntaxWarning: invalid escape sequence '\S'
    "(?:_(.+?)[.](\S+))"               "|"  # _category.attribute
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxReader.py:349:
SyntaxWarning: invalid escape sequence '\s'
    "(?:['](.*?)(?:[']\s|[']$))"       "|"  # single quoted strings
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxReader.py:350:
SyntaxWarning: invalid escape sequence '\s'
    "(?:[\"](.*?)(?:[\"]\s|[\"]$))"    "|"  # double quoted strings
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxReader.py:352:
SyntaxWarning: invalid escape sequence '\s'
    "(?:\s*#.*$)"                      "|"  # comments (dumped)
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxReader.py:354:
SyntaxWarning: invalid escape sequence '\S'
    "(\S+)"                                 # unquoted words
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxReader.py:419:
SyntaxWarning: invalid escape sequence '\S'
    "(?:_(.+?)[.](\S+))"               "|"  # _category.attribute
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxReader.py:421:
SyntaxWarning: invalid escape sequence '\s'
    "(?:['\"](.*?)(?:['\"]\s|['\"]$))" "|"  # quoted strings
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxReader.py:423:
SyntaxWarning: invalid escape sequence '\s'
    "(?:\s*#.*$)"                      "|"  # comments (dumped)
  /usr/lib/python3/dist-packages/openmm/app/internal/pdbx/reader/PdbxReader.py:425:
SyntaxWarning: invalid escape sequence '\S'
    "(\S+)"                                 # unquoted words
  /usr/lib/python3/dist-packages/openmm/app/metadynamics.py:247:
SyntaxWarning: invalid escape sequence '\.'
    pattern = re.compile('bias_(.*)_(.*)\.npy')
  /usr/lib/python3/dist-packages/openmm/openmm.py:1556: SyntaxWarning:
invalid escape sequence '\S'
    match = re.search("<([^?]\S*)", inputString)



More information about the Debichem-devel mailing list