diff options
Diffstat (limited to 'Examples/Tests/restart/analysis_restart.py')
-rwxr-xr-x | Examples/Tests/restart/analysis_restart.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Examples/Tests/restart/analysis_restart.py b/Examples/Tests/restart/analysis_restart.py index 087e380c4..7934cd518 100755 --- a/Examples/Tests/restart/analysis_restart.py +++ b/Examples/Tests/restart/analysis_restart.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 import sys +import os sys.path.insert(1, '../../../../warpx/Regression/Checksum/') import checksumAPI @@ -13,5 +14,5 @@ check_restart(filename) # Check-sum analysis filename = sys.argv[1] -test_name = filename[:-9] # Could also be os.path.split(os.getcwd())[1] +test_name = os.path.split(os.getcwd())[1] checksumAPI.evaluate_checksum(test_name, filename) |