Skip to content

Commit 5979cc4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b81ec48 commit 5979cc4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Examples/Physics_applications/laser_ion/analysis_test_laser_ion.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
sys.path.insert(1, "../../../../warpx/Regression/Checksum/")
1111
from checksumAPI import evaluate_checksum
1212

13-
def analyze_openpmd_regression(output_file):
1413

14+
def analyze_openpmd_regression(output_file):
1515
# Run checksum regression test
1616
if re.search("single_precision", output_file):
1717
evaluate_checksum(
@@ -25,7 +25,8 @@ def analyze_openpmd_regression(output_file):
2525
test_name=test_name,
2626
output_file=output_file,
2727
output_format="openpmd",
28-
)
28+
)
29+
2930

3031
def load_field_from_iteration(
3132
series, iteration: int, field: str, coord: str = None
@@ -48,7 +49,7 @@ def load_field_from_iteration(
4849
return field_data
4950

5051

51-
def compare_time_avg_with_instantaneous_diags(dir_inst : str, dir_avg : str):
52+
def compare_time_avg_with_instantaneous_diags(dir_inst: str, dir_avg: str):
5253
"""Compare instantaneous data (multiple iterations averaged in post-processing) with in-situ averaged data."""
5354

5455
field = "E"
@@ -84,7 +85,6 @@ def compare_time_avg_with_instantaneous_diags(dir_inst : str, dir_avg : str):
8485

8586

8687
if __name__ == "__main__":
87-
8888
test_name = os.path.split(os.getcwd())[1]
8989
inst_output_file = sys.argv[1]
9090

Examples/analysis_default_openpmd_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ def analyze_openpmd_regression():
88

99

1010
if __name__ == "__main__":
11-
analyze_openpmd_regression()
11+
analyze_openpmd_regression()

0 commit comments

Comments
 (0)