diff --git a/Packages/MIES/MIES_PulseAveraging.ipf b/Packages/MIES/MIES_PulseAveraging.ipf index 92564885e2..bfe019d5fb 100644 --- a/Packages/MIES/MIES_PulseAveraging.ipf +++ b/Packages/MIES/MIES_PulseAveraging.ipf @@ -2526,7 +2526,7 @@ threadsafe Function/WAVE PA_SpikePositionsForNonVC(WAVE wv, variable failedPulse endif AssertOnAndClearRTError() - FindPeak/B=(PA_PEAK_BOX_AVERAGE)/M=(failedPulsesLevel)/R=(first, last) wv; err = GetRTError(1) // see developer docu section Preventing Debugger Popup + FindPeak/B=(PA_PEAK_BOX_AVERAGE)/M=(failedPulsesLevel)/R=(first, last)/Q wv; err = GetRTError(1) // see developer docu section Preventing Debugger Popup if(!err) ASSERT_TS(!V_Flag, "Could not find peak but FindLevelWrapper was successfull, this is unexpected.") diff --git a/Packages/tests/PAPlot/PAPlot.pxp b/Packages/tests/PAPlot/PAPlot.pxp index 69c1809bb4..b8a8be0e72 100644 Binary files a/Packages/tests/PAPlot/PAPlot.pxp and b/Packages/tests/PAPlot/PAPlot.pxp differ diff --git a/Packages/tests/PAPlot/UTF_PA_Tests.ipf b/Packages/tests/PAPlot/UTF_PA_Tests.ipf index 5e6af21b4f..77d41fb8df 100644 --- a/Packages/tests/PAPlot/UTF_PA_Tests.ipf +++ b/Packages/tests/PAPlot/UTF_PA_Tests.ipf @@ -1247,8 +1247,14 @@ static Function PAT_BasicDeconvCheck() PA_InitSweep0(patest) Make/FREE/WAVE/N=(2, 2) refData + +#if IgorVersion() >= 10 + refData[0][1] = root:pa_test_deconv_ref2_IP10 + refData[1][0] = root:pa_test_deconv_ref1_IP10 +#else refData[0][1] = root:pa_test_deconv_ref2 refData[1][0] = root:pa_test_deconv_ref1 +#endif [bspName, graph] = PAT_StartDataBrowser_IGNORE() PGC_SetAndActivateControl(bspName, "check_pulseAver_deconv", val = 1) @@ -1272,6 +1278,9 @@ static Function PAT_BasicDeconvCheck() PAT_VerifyTraceAxes(graph, traceName, i + 1, j + 1, patest) PAT_VerifyTraceAxesRange(graph, traceName, patest, xOnly = 1) WAVE pData = TraceNameToWaveRef(graph, traceName) + + INFO("i = %d, j = %d, traceName = %s", n0 = i, n1 = j, s0 = traceName) + CHECK_EQUAL_WAVES(refData[i][j], pData, mode = WAVE_DATA) endfor endfor @@ -1287,8 +1296,14 @@ static Function PAT_BasicDeconvOnlyCheck() PA_InitSweep0(patest) Make/FREE/WAVE/N=(2, 2) refData + +#if IgorVersion() >= 10 + refData[0][1] = root:pa_test_deconv_ref2_IP10 + refData[1][0] = root:pa_test_deconv_ref1_IP10 +#else refData[0][1] = root:pa_test_deconv_ref2 refData[1][0] = root:pa_test_deconv_ref1 +#endif [bspName, graph] = PAT_StartDataBrowser_IGNORE() PGC_SetAndActivateControl(bspName, "check_pulseAver_showAver", val = 1) @@ -1315,6 +1330,9 @@ static Function PAT_BasicDeconvOnlyCheck() PAT_VerifyTraceAxes(graph, traceName, i + 1, j + 1, patest) PAT_VerifyTraceAxesRange(graph, traceName, patest, xOnly = 1) WAVE pData = TraceNameToWaveRef(graph, traceName) + + INFO("i = %d, j = %d, traceName = %s", n0 = i, n1 = j, s0 = traceName) + CHECK_EQUAL_WAVES(refData[i][j], pData, mode = WAVE_DATA) endfor endfor @@ -2360,8 +2378,14 @@ static Function PAT_BasicImagePlotDeconvolution() PA_InitSweep0(patest) Make/FREE/WAVE/N=(2, 2) refData + +#if IgorVersion() >= 10 + refData[0][1] = root:pa_test_deconv_ref2_IP10 + refData[1][0] = root:pa_test_deconv_ref1_IP10 +#else refData[0][1] = root:pa_test_deconv_ref2 refData[1][0] = root:pa_test_deconv_ref1 +#endif [bspName, imageWin] = PAT_StartDataBrowserImage_IGNORE() PGC_SetAndActivateControl(bspName, "check_pulseAver_deconv", val = 1)