How to turn off a Warning message?

Hello, is it possible to hide the Warning message and how? The one I would like to hide is “Warning in TSpectrum::SearchHighRes: Peak buffer full” that happens when I look for peaks in a spectrum.
Thanks in advance.

Create your TSpectrum with higher “maxpositions: maximum number of peaks”. :rofl:

1 Like

@Wile_E_Coyote’s answer is likely the best :slight_smile: … Otherwise you can ignore warning withs

gVerboseLevel = kError;

but this will ignore all warning messages.


1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.