Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Constants.py
Go to the documentation of this file.
1 # File: AthenaCommon/python/Constants.py
2 # Author: Wim Lavrijsen (WLavrijsen@lbl.gov)
3 """Useful/conventional constants."""
4 
5 __all__ = [
6  'ALL', 'VERBOSE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'FATAL', 'TRUE',
7  'FALSE'
8 ]
9 
10 # message levels -----------------------------------------------------------
11 ALL = 0
12 VERBOSE = 1
13 DEBUG = 2
14 INFO = 3
15 WARNING = 4
16 ERROR = 5
17 FATAL = 6
18 
19 # for job options legacy (TODO: get rid of these!) -------------------------
20 TRUE = True
21 FALSE = False
22 
23 # message to notify folks that they really have to fix their codes:
24 error_explanation = """
25  ==> After this line, a hack will be executed, attempting to rectify the
26  ==> problem just reported. Since this hack may fail, and since it is a
27  ==> rather temporary measure hack, this is an ERROR, not a WARNING."""