Functions | |
def | debugMsg (level, message) |
def | executeCmd (cmd) |
def | getDirSize (path) |
def | getDiskUsage (path) |
def | getNumRunsWithinTime (path, timeDelta) |
def | prettyPrintUnits (value, unit, decimals=0) |
def | sendmail (EmailAddress, run=123456789, body="", subject="File merge failed.") |
Variables | |
DEBUG | |
TIME_OUT | |
def commonAnTS.debugMsg | ( | level, | |
message | |||
) |
def commonAnTS.executeCmd | ( | cmd | ) |
Definition at line 72 of file commonAnTS.py.
References debugMsg().
def commonAnTS.getDirSize | ( | path | ) |
Definition at line 4 of file commonAnTS.py.
def commonAnTS.getDiskUsage | ( | path | ) |
def commonAnTS.getNumRunsWithinTime | ( | path, | |
timeDelta | |||
) |
Definition at line 24 of file commonAnTS.py.
def commonAnTS.prettyPrintUnits | ( | value, | |
unit, | |||
decimals = 0 |
|||
) |
Provide human readable units
Definition at line 50 of file commonAnTS.py.
References nano_mu_digi_cff.float, createfilelist.int, GetRecoTauVFromDQM_MC_cff.next, and funct.pow().
def commonAnTS.sendmail | ( | EmailAddress, | |
run = 123456789 , |
|||
body = "" , |
|||
subject = "File merge failed." |
|||
) |
Definition at line 95 of file commonAnTS.py.
commonAnTS.DEBUG |
Definition at line 3 of file commonAnTS.py.
commonAnTS.TIME_OUT |
Definition at line 2 of file commonAnTS.py.