From e341b730924441f3c478aac5dc9a4dfef30975ec Mon Sep 17 00:00:00 2001 From: Edoardo Zoni Date: Fri, 15 Nov 2024 09:06:25 -0800 Subject: [PATCH] Update tests --- .../thomson_parabola_spectrometer/CMakeLists.txt | 4 ++-- .../thomson_parabola_spectrometer/analysis.py | 2 ++ .../analysis_default_openpmd_regression.py | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) mode change 100644 => 100755 Examples/Physics_applications/thomson_parabola_spectrometer/analysis.py delete mode 120000 Examples/Physics_applications/thomson_parabola_spectrometer/analysis_default_openpmd_regression.py diff --git a/Examples/Physics_applications/thomson_parabola_spectrometer/CMakeLists.txt b/Examples/Physics_applications/thomson_parabola_spectrometer/CMakeLists.txt index 93b5d338fec..a4a5be4af13 100644 --- a/Examples/Physics_applications/thomson_parabola_spectrometer/CMakeLists.txt +++ b/Examples/Physics_applications/thomson_parabola_spectrometer/CMakeLists.txt @@ -6,7 +6,7 @@ add_warpx_test( 3 # dims 1 # nprocs inputs_test_3d_thomson_parabola_spectrometer # inputs - analysis_default_openpmd_regression.py # analysis - diags/diag1 # output + "analysis.py" # analysis + "analysis_default_regression.py --path diags/diag1 --openpmd" # checksum OFF # dependency ) diff --git a/Examples/Physics_applications/thomson_parabola_spectrometer/analysis.py b/Examples/Physics_applications/thomson_parabola_spectrometer/analysis.py old mode 100644 new mode 100755 index 3485ffc6712..6f61ed92c72 --- a/Examples/Physics_applications/thomson_parabola_spectrometer/analysis.py +++ b/Examples/Physics_applications/thomson_parabola_spectrometer/analysis.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import matplotlib as mpl import matplotlib.pyplot as plt import numpy as np 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 120000 index 73e5ec47001..00000000000 --- a/Examples/Physics_applications/thomson_parabola_spectrometer/analysis_default_openpmd_regression.py +++ /dev/null @@ -1 +0,0 @@ -../../analysis_default_openpmd_regression.py \ No newline at end of file