1 from __future__
import print_function
2 from __future__
import absolute_import
5 write = sys.stdout.write
12 WarningCol=[
False]*len(Data)
13 for [line,Warn]
in zip(Data,WarningCol):
19 for entry
in ColWidths:
21 for i
in range(entry):
27 assert Warn
in [
True,
False]
29 assert len(line)==len(ColWidths)
36 for [width, entry]
in zip(ColWidths,line):
41 print(
"\n\n\n Weird Data .. Bailing out\n\n")
43 for i
in range(width):
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE constexpr float zip(ConstView const &tracks, int32_t i)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
def PrintLine(line, ColWidths, Warn, border)
def PrettyPrintTable(Headers, Data, ColWidths, WarningCol=[], border=' *')
def PrintHLine(ColWidths, border)