Skip to content

Commit

Permalink
Fix invalid escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Oct 6, 2023
1 parent 43a0263 commit 7b1dce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/atom/test/test_ligand_score.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7b1dce5

Please sign in to comment.