aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/write_atomic_data_cpp.py
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-11 12:20:06 -0600
committerGravatar GitHub <noreply@github.com> 2019-09-11 12:20:06 -0600
commit321a2c763a741c9674bdf7b28332271324221dde (patch)
tree9f81ea5e8475ab5bd1e769d7865fc7fd492d06eb /Source/Utils/write_atomic_data_cpp.py
parentf6ccb0e34fd2125fd0d933604efc5ed23eb18a71 (diff)
parentfd848331f2fd6af8c56a0027cc5f088286e347c4 (diff)
downloadWarpX-321a2c763a741c9674bdf7b28332271324221dde.tar.gz
WarpX-321a2c763a741c9674bdf7b28332271324221dde.tar.zst
WarpX-321a2c763a741c9674bdf7b28332271324221dde.zip
Merge pull request #333 from ax3l/topic-eolWhitespaceSource
Source & Tools: No EOL Whitespaces
Diffstat (limited to 'Source/Utils/write_atomic_data_cpp.py')
-rw-r--r--Source/Utils/write_atomic_data_cpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Utils/write_atomic_data_cpp.py b/Source/Utils/write_atomic_data_cpp.py
index b085d50eb..1c85fa32c 100644
--- a/Source/Utils/write_atomic_data_cpp.py
+++ b/Source/Utils/write_atomic_data_cpp.py
@@ -60,7 +60,7 @@ for element in ion_names:
'\n\s+(\d+)\s+\|\s+%s\s+\w+\s+\|\s+\+*(\d+)\s+\|\s+\(*\[*(\d+\.*\d*)' \
%element
list_of_tuples = re.findall( regex_command, text_data )
- for count, energy in enumerate([x[2] for x in list_of_tuples]):
+ for count, energy in enumerate([x[2] for x in list_of_tuples]):
if count%7==0: cpp_string += '\n '
cpp_string += energy + ', '
cpp_string = cpp_string[:-2]