aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2021-08-13 08:08:45 -0700
committerGravatar GitHub <noreply@github.com> 2021-08-13 08:08:45 -0700
commit8c6c0a3f537888537a280ec229a54d8338810e7d (patch)
tree5a1a17d2ae57f8a230dfc73bcdbf72f9a80c5118 /Python/pywarpx/picmi.py
parente31f5cd801e17842a11c75043b36ee3b96674f69 (diff)
downloadWarpX-8c6c0a3f537888537a280ec229a54d8338810e7d.tar.gz
WarpX-8c6c0a3f537888537a280ec229a54d8338810e7d.tar.zst
WarpX-8c6c0a3f537888537a280ec229a54d8338810e7d.zip
WarpX::Version: Not Empty (#2193)
Make sure we do not return an empty string in `WarpX::Version()`. In some situations, e.g., in CI/run_test.sh, the macro for the `WARPX_GIT_VERSION` version in GNUmake is set but empty. ` Since empty versions are problematic for HDF5 attributes and confusing anyway, we return a proper `"Unknown"` in such a situation now, too. Detected as bug in #2150 X-ref: - https://github.com/openPMD/openPMD-api/pull/1087 - https://github.com/openPMD/openPMD-api/pull/979
Diffstat (limited to 'Python/pywarpx/picmi.py')
0 files changed, 0 insertions, 0 deletions