Skip to content

Commit

Permalink
PA_SpikePositionsForNonVC: Add missing /Q
Browse files Browse the repository at this point in the history
Otherwise FindPeak is too noisy.
  • Loading branch information
t-b committed Oct 14, 2024
1 parent acf2eb1 commit 2bc24da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packages/MIES/MIES_PulseAveraging.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 2bc24da

Please sign in to comment.