diff options
author | 2021-12-15 11:17:55 -0800 | |
---|---|---|
committer | 2021-12-15 11:17:55 -0800 | |
commit | fc8a2ae271bb3ddd3cff3da42dff990547a7bfa1 (patch) | |
tree | 77e1ce29fc1253b5bf7669a56e0c177f0a3550b5 /Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py | |
parent | 603f75d295f5d87baf3284807319e027a4b93a1c (diff) | |
download | WarpX-fc8a2ae271bb3ddd3cff3da42dff990547a7bfa1.tar.gz WarpX-fc8a2ae271bb3ddd3cff3da42dff990547a7bfa1.tar.zst WarpX-fc8a2ae271bb3ddd3cff3da42dff990547a7bfa1.zip |
Examples: Python ShellBang & Executable (#2673)
* Examples: Python ShellBang & Executable
Make sure that all PICMI scripts and all analysis Python scripts
in `Examples/` are:
- executable (`chmod a+x`)
- start with a shell-bang to `python3`
Now, all scripts can be run directly without a `python3 ...` prefix
and also default to the only right executable of Python on older
systems. (New systems always have a `python3` alias, too.)
* Revert a moved numpy
Diffstat (limited to 'Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py')
-rwxr-xr-x[-rw-r--r--] | Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py b/Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py index 33b93c890..e237ac1c1 100644..100755 --- a/Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py +++ b/Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from pywarpx import picmi #from warp import picmi |