Closed licode closed 9 years ago
cc @tacaswell
try the following function:
void SetErrorMessages(int status);
Pass 1 to suppress the messages. I will add this function (and a couple other) to the manual. I will close this bug report afterwards.
Best,
Tom
Thanks. I add those in the python version. It works.
xraylib.XRayInit() xraylib.SetErrorMessages(0)
Description
Is there any way to suppress warning output from xraylib, such as:
Shell not available in function JumpFactor Line not allowed in function CS_FluorLine
I want to output results from multiple energy lines and shells by calling xraylib, but it is difficult to remove these warning messages.