diff --git a/dpgen/auto_test/Gamma.py b/dpgen/auto_test/Gamma.py index 2499717eb..470e77b65 100644 --- a/dpgen/auto_test/Gamma.py +++ b/dpgen/auto_test/Gamma.py @@ -386,7 +386,7 @@ def __inLammpes_fix(self, inLammps) -> None: with open(inLammps) as fin1: contents = fin1.readlines() for ii in range(len(contents)): - upper = re.search("variable N equal count\(all\)", contents[ii]) + upper = re.search(r"variable N equal count\(all\)", contents[ii]) lower = re.search("min_style cg", contents[ii]) if lower: lower_id = ii