diff options
Diffstat (limited to 'Examples/analysis_default_regression.py')
-rwxr-xr-x | Examples/analysis_default_regression.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Examples/analysis_default_regression.py b/Examples/analysis_default_regression.py new file mode 100755 index 000000000..b40bb6675 --- /dev/null +++ b/Examples/analysis_default_regression.py @@ -0,0 +1,14 @@ +#! /usr/bin/env python + +import sys +sys.path.insert(1, '../../../../warpx/Regression/Checksum/') +import checksumAPI + +# this will be the name of the plot file +fn = sys.argv[1] + +# Get name of the test +test_name = fn[:-9] # Could also be os.path.split(os.getcwd())[1] + +# Run checksum regression test +checksumAPI.evaluate_checksum(test_name, fn) |