Skip to content

Commit

Permalink
WarpX Bucket: Regex Raw String
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Sep 13, 2024
1 parent 376d16c commit c75b2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/pywarpx/WarpX.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def write_inputs(self, filename="inputs", **kw):
for arg in argv:
# This prints the name of the input group (prefix) as a header
# before each group to make the input file more human readable
prefix_new = re.split(" |\.", arg)[0]
prefix_new = re.split(r" |\.", arg)[0]
if prefix_new != prefix_old:
if prefix_old != "":
ff.write("\n")
Expand Down

0 comments on commit c75b2c1

Please sign in to comment.