Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
SyntaxWarning: invalid escape sequence
(#274)
* fix `SyntaxWarning: invalid escape sequence` ``` /opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/gromacs/fileformats/mdp.py:61: SyntaxWarning: invalid escape sequence '\s' COMMENT = re.compile("""\s*;\s*(?P<value>.*)""") # eat initial ws /opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/gromacs/fileformats/mdp.py:64: SyntaxWarning: invalid escape sequence '\s' """ /opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/gromacs/fileformats/ndx.py:89: SyntaxWarning: invalid escape sequence '\s' SECTION = re.compile("""\s*\[\s*(?P<name>\S.*\S)\s*\]\s*""") /opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/gromacs/fileformats/xpm.py:122: SyntaxWarning: invalid escape sequence '\s' """\ ``` * `\` should be removed when using `r`
- Loading branch information