From dbfc0bb67ee9aa7dbd158ce2bf86e46c4ee4d793 Mon Sep 17 00:00:00 2001 From: Henri Menke Date: Mon, 6 Oct 2025 11:55:21 +0200 Subject: [PATCH] Fix SyntaxWarning: invalid escape sequence --- python/triqs_dft_tools/block_structure.py | 2 +- python/triqs_dft_tools/converters/wannier90.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/triqs_dft_tools/block_structure.py b/python/triqs_dft_tools/block_structure.py index e5643318..3652ff6c 100644 --- a/python/triqs_dft_tools/block_structure.py +++ b/python/triqs_dft_tools/block_structure.py @@ -35,7 +35,7 @@ class BlockStructure(object): - """ Contains information about the Green function structure. + r""" Contains information about the Green function structure. This class contains information about the structure of the solver and sumk Green functions and the mapping between them. diff --git a/python/triqs_dft_tools/converters/wannier90.py b/python/triqs_dft_tools/converters/wannier90.py index a48403e8..19ebdbfe 100644 --- a/python/triqs_dft_tools/converters/wannier90.py +++ b/python/triqs_dft_tools/converters/wannier90.py @@ -541,7 +541,7 @@ def read_wannier90_hr_data(wannier_seed): def read_wannier90_blochbasis_data(wannier_seed, n_wannier_spin): - """ + r""" Method for reading the files needed in the bloch_basis: seedname_u.mat, seedname.eig and potentially seedname_u_dis.mat.