[Debichem-devel] Bug#1085795: psi4: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Tue Oct 22 17:34:35 BST 2024


Source: psi4
Version: 1:1.3.2+dfsg-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/p/psi4.html


  Setting up python3 (3.12.5-1) ...
  /usr/lib/x86_64-linux-gnu/psi4/driver/driver_cbs.py:1871:
SyntaxWarning: invalid escape sequence '\+'
    method_name_list = re.split("""\+(?=\s*[Dd]:)""", method_name)
  /usr/lib/x86_64-linux-gnu/psi4/driver/procrouting/mcscf/augmented_hessian.py:116:
SyntaxWarning: invalid escape sequence '\l'
    core.print_out("   Warning! Multiple eigenvectors found to follow.
Following closest to \lambda = 1.\n")
  /usr/lib/x86_64-linux-gnu/psi4/driver/qcdb/dbwrap.py:152:
SyntaxWarning: invalid escape sequence '\%'
    mape = '  ----  ' if err['mape'] is None else '%6.1f\%%' % (100 *
err['mape'])
  /usr/lib/x86_64-linux-gnu/psi4/driver/qcdb/dbwrap.py:153:
SyntaxWarning: invalid escape sequence '\%'
    mapbe = '  ----  ' if err['mapbe'] is None else '%6.1f\%%' % (100
* err['mapbe'])
  /usr/lib/x86_64-linux-gnu/psi4/driver/qcdb/dbwrap.py:154:
SyntaxWarning: invalid escape sequence '\%'
    mapce = '  ----  ' if err['mapce'] is None else '%6.1f\%%' % (100
* err['mapce'])
  /usr/lib/x86_64-linux-gnu/psi4/driver/qcdb/dbwrap.py:155:
SyntaxWarning: invalid escape sequence '\{'
    text = """$\{%s; %s\}$ %s %s %s""" % \
  /usr/lib/x86_64-linux-gnu/psi4/driver/qcdb/dbwrap.py:2500:
SyntaxWarning: invalid escape sequence '\s'
    title="""Reaction energies [kcal/mol] for {sset} $\subset$ {dbse}
with {mc}""",
  /usr/lib/x86_64-linux-gnu/psi4/driver/qcdb/dbwrap.py:2501:
SyntaxWarning: invalid escape sequence '\s'
    indextitle="""Detailed results for {sset} $\subset$ {dbse} with {mc}""",
  /usr/lib/x86_64-linux-gnu/psi4/driver/qcdb/modelchems.py:280:
SyntaxWarning: invalid escape sequence '\d'
    BasisSet('atzdz',      fullname='[aTZ; D:DZ]', latex="""[aTZ;
$\delta$:DZ]""",



More information about the Debichem-devel mailing list