aboutsummaryrefslogtreecommitdiff
path: root/Examples/Modules/laser_injection_from_file/analysis.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Modules/laser_injection_from_file/analysis.py')
-rwxr-xr-xExamples/Modules/laser_injection_from_file/analysis.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Examples/Modules/laser_injection_from_file/analysis.py b/Examples/Modules/laser_injection_from_file/analysis.py
index d1ef8a001..87ef197dd 100755
--- a/Examples/Modules/laser_injection_from_file/analysis.py
+++ b/Examples/Modules/laser_injection_from_file/analysis.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python
# This file is part of the WarpX automated test suite. It is used to test the
# injection of a laser pulse from an external binary file.
@@ -16,7 +16,7 @@ import glob
import os
#Maximum acceptable error for this test
-relative_error_threshold = 0.06
+relative_error_threshold = 0.065
#Physical parameters
um = 1.e-6
@@ -210,7 +210,7 @@ def main() :
launch_analysis(executables[0])
else :
assert(False)
-
+ print('Passed')
if __name__ == "__main__":
main()