From 36c64a98bfe5e7f3e81094c45bddf8c4a348d12e Mon Sep 17 00:00:00 2001 From: Arianna Formenti Date: Tue, 17 Sep 2024 10:28:02 -0700 Subject: [PATCH] make analysis_default_openpmd_regression.py a symlink --- .../analysis_default_openpmd_regression.py | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) mode change 100755 => 120000 Examples/Physics_applications/thomson_parabola_spectrometer/analysis_default_openpmd_regression.py diff --git a/Examples/Physics_applications/thomson_parabola_spectrometer/analysis_default_openpmd_regression.py b/Examples/Physics_applications/thomson_parabola_spectrometer/analysis_default_openpmd_regression.py deleted file mode 100755 index 03a0f1ede1f..00000000000 --- a/Examples/Physics_applications/thomson_parabola_spectrometer/analysis_default_openpmd_regression.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python3 - -import os -import re -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 = os.path.split(os.getcwd())[1] - -# Run checksum regression test -if re.search("single_precision", fn): - checksumAPI.evaluate_checksum(test_name, fn, output_format="openpmd", rtol=2.0e-6) -else: - checksumAPI.evaluate_checksum(test_name, fn, output_format="openpmd") diff --git a/Examples/Physics_applications/thomson_parabola_spectrometer/analysis_default_openpmd_regression.py b/Examples/Physics_applications/thomson_parabola_spectrometer/analysis_default_openpmd_regression.py new file mode 120000 index 00000000000..73e5ec47001 --- /dev/null +++ b/Examples/Physics_applications/thomson_parabola_spectrometer/analysis_default_openpmd_regression.py @@ -0,0 +1 @@ +../../analysis_default_openpmd_regression.py \ No newline at end of file