diff options
Diffstat (limited to 'Examples/Tests/ParticleDataPython/analysis.py')
-rwxr-xr-x | Examples/Tests/ParticleDataPython/analysis.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Examples/Tests/ParticleDataPython/analysis.py b/Examples/Tests/ParticleDataPython/analysis.py index e9ff0cbd0..e6fb64576 100755 --- a/Examples/Tests/ParticleDataPython/analysis.py +++ b/Examples/Tests/ParticleDataPython/analysis.py @@ -7,12 +7,8 @@ # This script just checks that the PICMI file executed successfully. # If it did there will be a plotfile for the final step. -import yt +import sys -plotfile = 'Python_particle_attr_access_plt_000010' -ds = yt.load( plotfile ) # noqa +step = int(sys.argv[1][-5:]) -plotfile = 'Python_particle_attr_access_plt_100010' -ds = yt.load( plotfile ) # noqa - -assert True +assert step == 10 |