Skip to content

Commit 70bc69b

Browse files
committed
MNT: fix invalid escape sequence warning
1 parent 2fcb7a7 commit 70bc69b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devutils/sgtbx_extra_groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def mmSpaceGroupFromSymbol(symbol):
4949
kw['num_primitive_sym_equiv'] = countUniqueRotations(symop_list)
5050
kw['short_name'] = sgsmbls.hermann_mauguin().replace(' ', '')
5151
pgt = sgsmbls.point_group_type()
52-
pgn = "PG" + re.sub('-(\d)', '\\1bar', pgt)
52+
pgn = "PG" + re.sub(r'-(\d)', '\\1bar', pgt)
5353
kw['point_group_name'] = pgn
5454
kw['crystal_system'] = sgsmbls.crystal_system().upper()
5555
kw['pdb_name'] = sgsmbls.hermann_mauguin()

0 commit comments

Comments
 (0)