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(), ClusterSummary.getModuleLocation(), GEMAMC13Status.inValidAMC(), GEMAMCStatus.inValidOH(), and GEMOHStatus.inValidVFAT().
21 def warn (*args, **kwargs):
22 """print out warning with line number and rest of arguments""" 24 frame = inspect.stack()[1]
28 blankLines = kwargs.get(
'blankLines', 0)
30 print(
'\n' * blankLines)
31 spaces = kwargs.get(
'spaces', 0)
33 print(
' ' * spaces, end=
' ')
35 print(
"%s (%s): " % (filename, lineNum), end=
' ')
40 print(
"%s (%s):" % (filename, lineNum))
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)