Skip to content

Commit 93207a7

Browse files
Updated benchmark for system tests
Since the final profile changed slightly, needed to update the benchmark for the system tests. Took this opportunity to run the system tests on a single MS iteration, instead of the three that were before.
1 parent f0b1ba4 commit 93207a7

File tree

7 files changed

+2
-3
lines changed

7 files changed

+2
-3
lines changed

src/mvesuvio/analysis_reduction.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ def _set_kinematic_arrays(self, dataX):
355355

356356
def _set_y_space_arrays(self):
357357

358-
# Extend range for better third derivative
359358
delta_Q = self._deltaQ[np.newaxis, :, :]
360359
delta_E = self._deltaE[np.newaxis, :, :]
361360
masses = self._masses.reshape(-1, 1, 1)
Binary file not shown.
Binary file not shown.

tests/data/analysis/inputs/analysis_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class ForwardAnalysisInputs(SampleParameters):
7979
[-3, 1],
8080
]
8181
constraints = ()
82-
noOfMSIterations = 3 # 4
82+
noOfMSIterations = 1 # 4
8383
MSCorrectionFlag = True
8484
GammaCorrectionFlag = True
8585

tests/system/analysis/test_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def _run(cls):
3737
def _load_benchmark_results(cls):
3838
benchmarkPath = Path(__file__).absolute().parent.parent.parent / "data" / "analysis" / "benchmark"
3939
benchmarkResults = np.load(
40-
str(benchmarkPath / "stored_spec_144-182_iter_3_GC_MS.npz")
40+
str(benchmarkPath / "stored_spec_144-182_iter_1_GC_MS.npz")
4141
)
4242
cls._benchmarkResults = benchmarkResults
4343

0 commit comments

Comments
 (0)