Skip to content

Commit

Permalink
Merge branch 'main' into versioningit
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst authored Jun 15, 2024
2 parents f308bff + ea118ed commit 14e807c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gromacs/fileformats/mdp.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class MDP(odict, utilities.FileUtils):
COMMENT = re.compile("""\s*;\s*(?P<value>.*)""") # eat initial ws
# see regex in cbook.edit_mdp()
PARAMETER = re.compile(
"""
r"""
\s*(?P<parameter>[^=]+?)\s*=\s* # parameter (ws-stripped), before '='
(?P<value>[^;]*) # value (stop before comment=;)
(?P<comment>\s*;.*)? # optional comment
Expand Down
2 changes: 1 addition & 1 deletion gromacs/fileformats/ndx.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class NDX(odict, utilities.FileUtils):
default_extension = "ndx"

# match: [ index_groupname ]
SECTION = re.compile("""\s*\[\s*(?P<name>\S.*\S)\s*\]\s*""")
SECTION = re.compile(r"""\s*\[\s*(?P<name>\S.*\S)\s*\]\s*""")

#: standard ndx file format: 15 columns
ncol = 15
Expand Down
2 changes: 1 addition & 1 deletion gromacs/fileformats/xpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class XPM(utilities.FileUtils):
#:
#: .. _`printable ASCII character`: http://www.danshort.com/ASCIImap/indexhex.htm
COLOUR = re.compile(
"""\
r"""
^.*" # start with quotation mark
(?P<symbol>[\x20-\x7E])# printable ASCII symbol used in the actual pixmap: 'space' to '~'
\s+ # white-space separated
Expand Down

0 comments on commit 14e807c

Please sign in to comment.