print out warning with line number and rest of arguments
Definition at line 21 of file __init__.py.
References print().
Referenced by GEMAMC13Status.GEMAMC13Status(), GEMAMCStatus.GEMAMCStatus(), GEMOHStatus.GEMOHStatus(), GEMVFATStatus.GEMVFATStatus(), GEMAMC13Status.inValidAMC(), GEMAMCStatus.inValidOH(), and GEMOHStatus.inValidVFAT().
22 def warn (*args, **kwargs):
23 """print out warning with line number and rest of arguments"""
25 frame = inspect.stack()[1]
29 blankLines = kwargs.get(
'blankLines', 0)
31 print(
'\n' * blankLines)
32 spaces = kwargs.get(
'spaces', 0)
34 print(
' ' * spaces, end=
' ')
36 print(
"%s (%s): " % (filename, lineNum), end=
' ')
41 print(
"%s (%s):" % (filename, lineNum))
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)