From 7b1dce548a3fa33c6c2fdb8b46955258e49ebf3a Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Fri, 6 Oct 2023 10:02:54 -0700 Subject: [PATCH] Fix invalid escape sequence --- modules/atom/test/test_ligand_score.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/atom/test/test_ligand_score.py b/modules/atom/test/test_ligand_score.py index 7ea922cd14..87ee6b4cef 100644 --- a/modules/atom/test/test_ligand_score.py +++ b/modules/atom/test/test_ligand_score.py @@ -47,7 +47,7 @@ def check_output(self, p, val1, val2): out = out.split('\n') for line, nligand, score in [(out[-3], '001', val1), (out[-2], '002', val2)]: - m = re.match('Score for 1d3d\-ligand\.1d3d\.(\d+) is ([\d\.-]+)', + m = re.match(r'Score for 1d3d\-ligand\.1d3d\.(\d+) is ([\d\.-]+)', line) self.assertIsNotNone(m, msg="Score output not found in " + str(out)) self.assertEqual(m.group(1), nligand)