aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/ParticleDataPython/analysis.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Tests/ParticleDataPython/analysis.py')
-rwxr-xr-xExamples/Tests/ParticleDataPython/analysis.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/Examples/Tests/ParticleDataPython/analysis.py b/Examples/Tests/ParticleDataPython/analysis.py
new file mode 100755
index 000000000..e9ff0cbd0
--- /dev/null
+++ b/Examples/Tests/ParticleDataPython/analysis.py
@@ -0,0 +1,18 @@
+#! /usr/bin/env python
+
+# Copyright 2021 Modern Electron
+#
+# License: BSD-3-Clause-LBNL
+
+# This script just checks that the PICMI file executed successfully.
+# If it did there will be a plotfile for the final step.
+
+import yt
+
+plotfile = 'Python_particle_attr_access_plt_000010'
+ds = yt.load( plotfile ) # noqa
+
+plotfile = 'Python_particle_attr_access_plt_100010'
+ds = yt.load( plotfile ) # noqa
+
+assert True