Age | Commit message (Collapse) | Author | Files | Lines |
|
* pre-commit: Python imports
Add two new Python rules to:
- remove unused imports
- sort imports according to PEP8
* pre-commit: Python imports
Add two new Python rules to:
- remove unused imports
- sort imports according to PEP8
`.editorconfig`: isort options
https://github.com/PyCQA/isort/wiki/isort-Settings
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* move import os (mpl)
* move import yt (mpl)
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Cleanup around matplotlib.use
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Cleaning: double np and lib
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
* Update Scripts to Handle New File Names
* Use glob in Analysis of Collision Tests
* Use rstrip in Analysis of Collision Tests
* Regex: Match ends-in-digits
Thanks Phil! :)
Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
Co-authored-by: Phil Miller <unmobile+gh@gmail.com>
|
|
* 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
|
|
* add a checksum module for regtests
* All capabilities to checksum tests
* update tests to generate a clean benchmark
* call checksum tests from analysis scripts
* Add checksum json benchmarks
* add missing script, better printing and increase tol
* eol
* fix permission, and bump tolerance
* chmod +x checksumAPI.py
* update benchmarks, probably old ones were wrong due to parallelization
* remove unused variable, thanks lgtm
* special handling when the benchmark is 0
* non-zero but very small CFL for 1 step for init tests
* reset erroneous Python benchmarks
* slightly bump tolerance for initial distribution test
* too small dr results in nans
* improve prints, tolerance handling, and fix tests
* typo
* enable tolerance and fields/particles optional comparison to fix tests
* more minor cleaning in space charge initialization tests
* update Python benchmarks for serial runs
* Run Python tests with 1 rank instead of 2
* fields that are zero should not be in reg tests
* Add developer documentation on checksum regression tests
Co-authored-by: Tools <warpx@lbl.gov>
|
|
* always print error and tolerance before ASSERT in CI tests
* eol
* fix typos
* more typo
* typo
|
|
|
|
|
|
End-of-line (EOL) whitespaces are verbose and increase diffs and
merge conflicts over time.
Cleaned them up for the `Source/`, `Examples/` and `Tools/` directory
with the following bash one-liner:
```bash
find . -type f -not -path './.git*' \
-exec sed -i 's/[[:blank:]]*$//' {} \;
```
Committed as generic user so git does not credit the many lines
to me:
```bash
GIT_AUTHOR_NAME="Tools" GIT_AUTHOR_EMAIL="warpx@lbl.gov" \
git commit
```
|
|
|
|
|
|
|
|
|