Chandra X-Ray Observatory
Skip to the navigation links
Last modified: December 2013

Jump to: Description · Example · Bugs · See Also

AHELP for CIAO 4.10 ChIPS v1


Context: errors


Clears the ChIPS server error list.




Generally, errors and warnings detected by the server are put into a buffer which the user may access. The buffer is cleared automatically at the start of most commands, so that the buffer only contains errors and warnings related to the executed command.

The clear_errors command is used to clear the ChIPS error buffer. This can be useful after calling get_errors, so that a subsequent get_errors call doesn't include the old errors.

This command is part of the advanced ChIPS module; refer to "ahelp chips" for information. To load the module:

from pychips.advanced import *


chips> set_error_verbosity(3)
chips> get_errors()
chips> clear_errors()

Set the error verbosity level to 3 to print detailed information. Retrieve the error buffer, then clear the buffer.


See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

See Also

get_error_count, get_error_types, get_error_verbosity, get_errors, set_error_verbosity

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: Smithsonian Institution, Copyright © 1998-2017. All rights reserved.